How View Controllers Present Other View Controllers

When you present a modal view controller, the system creates a relationship between the view controller that did the presenting and the view controll...

2014-02-01 16:50:03

阅读数 623

评论数 0

Deleting rows in table view Checklist

//enable swipe-to-delete - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(N...

2013-03-05 14:16:29

阅读数 472

评论数 0

data source

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return 1; } - (UITableViewCell *)tableView:(UITableVi...

2013-02-28 23:15:34

阅读数 294

评论数 0

Loads the local HTML file into the web view in the app

- (void)viewDidLoad {     [super viewDidLoad];     // Do any additional setup after loading the view from its nib.          NSString *h...

2013-02-28 00:22:41

阅读数 425

评论数 0

AboutView -- Close the second window

1 Set the Action in the second window 2 in .m file, implement the - (IBAction)close method. pp 120 // AboutViewController.m -(IBAction)clos...

2013-02-27 21:15:20

阅读数 185

评论数 0

AboutView -- Create the second window in the app

1. create the second window by new file -> objective-C class (subclass of ViewController). then .xib, .h and .m 2. set Action in the first view ...

2013-02-27 20:54:21

阅读数 220

评论数 0

Properties and Outlets

These three steps are necessary for just about any property you add to the view controller if that property refers to a view in the nib: 1 add @prop...

2013-02-27 11:47:06

阅读数 204

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭