文章分类 -  IOS入门

摘要: 阅读全文
posted @ 2013-08-19 19:52 雪中飞雁 阅读(78) 评论(0) 推荐(0)
摘要:- (void)viewDidLoad{ [super viewDidLoad]; self.navigationController.navigationBar.tintColor = [UIColor redColor];//改变导航条颜色 ////////////////////工具条按钮/////////////////////// UIBarButtonItem *button1 = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRef... 阅读全文
posted @ 2013-08-19 19:33 雪中飞雁 阅读(62) 评论(0) 推荐(0)
摘要:-(id)init{ if(self = [super initWithStyle:UITableViewStylePlain]) { self.title = @"主菜单";//顶部信息 self.navigationItem.prompt = @"导航条信息";//标题 //右边按钮 UIBarButtonItem *rightItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCompose ta... 阅读全文
posted @ 2013-08-19 17:23 雪中飞雁 阅读(87) 评论(0) 推荐(0)
摘要:-(id)init{ if(self = [super init]) { self.title = @"first"; //self.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"first" image:nil tag:0]; //self.tabBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemBookmarks tag:0]; UITabBarItem *tabBar... 阅读全文
posted @ 2013-08-08 19:15 雪中飞雁 阅读(81) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2013-08-08 18:36 雪中飞雁 阅读(54) 评论(0) 推荐(0)
摘要:#import @class AlinViewController;@interface NavigatorDelegate : UIResponder { //UIWindow *win; UINavigationController *rootController;}@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) AlinViewController *viewController;@endNavigatorDelegate.h#import "NavigatorDeleg. 阅读全文
posted @ 2013-08-08 16:12 雪中飞雁 阅读(76) 评论(0) 推荐(0)
摘要:#import @class AlinViewController;@interface MultiPageDelegate : UIResponder { //UIWindow *win; UITabBarController *rootController;}@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) AlinViewController *viewController;@endMultiDelegate.h #import "MultiPageDelegate.h&qu 阅读全文
posted @ 2013-08-08 10:56 雪中飞雁 阅读(59) 评论(0) 推荐(0)
摘要:#import @class AlinViewController;@interface AlinAppDelegate : UIResponder { //UIWindow *win; UIViewController *firstViewController; UIViewController *secondViewController;}@property (strong, nonatomic) UIWindow *window;@property (strong, nonatomic) AlinViewController *viewController;@endAl... 阅读全文
posted @ 2013-08-07 10:51 雪中飞雁 阅读(85) 评论(0) 推荐(0)
摘要:#import "AlinViewController.h"@interface AlinViewController ()@end@implementation AlinViewController- (void)viewDidLoad{[super viewDidLoad];UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(30, 30, 60, 60)];label.text = @"苹果开发";label.textColor = [UIColor blueColor];[self 阅读全文
posted @ 2013-08-07 09:21 雪中飞雁 阅读(84) 评论(0) 推荐(0)