2014年8月4日
摘要: UITableView.02:【1】拖入一个UITableView【2】将TableView的dataSource与控制器连接【3】首先得遵循UITableView的数据源协议【4】将数据plist文件拖入 【5】代码1.viewDidLoad只加载一次,所以用来加载plist文件中的数据。 ... 阅读全文
posted @ 2014-08-04 22:59 ZiCheng 阅读(187) 评论(0) 推荐(0) 编辑
摘要: UITableView.01:section:组别row:行号【1】拖入一个UITableView【2】将TableView的dataSource与控制器连接【3】首先得遵循UITableView的数据源协议代码1.加入显示数据内容- (void)viewDidLoad{ [super vie... 阅读全文
posted @ 2014-08-04 22:51 ZiCheng 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1.superview获得自己的父控件对象@property(nonatomic,readonly)UIView *superview2.subviews获得自己的所有子控件对象@property(nonatomic,readonly,copy)NSArray *subviews; int c... 阅读全文
posted @ 2014-08-04 22:45 ZiCheng 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 【Alert】1.加入协议2.-(IBAction)btnShowAlertView:(id)sender{ UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"标题" ... 阅读全文
posted @ 2014-08-04 22:43 ZiCheng 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 1 -(IBAction)btnRegisterClicked:(id)sender 2 { 3 if(secondViewController==nil) 4 { 5 secondViewController = [[SecondViewController al... 阅读全文
posted @ 2014-08-04 22:40 ZiCheng 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 【UIKit】AppDelegate在应用程序启动完毕后调用(只会调用一次,第一次打开程序的时候才会调用)- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)la... 阅读全文
posted @ 2014-08-04 22:32 ZiCheng 阅读(297) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-08-04 22:27 ZiCheng 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-08-04 22:14 ZiCheng 阅读(3) 评论(0) 推荐(0) 编辑