UITableView
NSMutableArray
awakeFromNib
UIBarButtonItem
navigationItem
navigationItem.backBarButtonItem
NSDictionary dictionaryWithObjectsAndKeys
NSlocalizedString
UINavigationController
setModelData
NSNotificationCenter defaultCenter
Day2:
Tab Bar Application:
1->Create controllers with UIWebView
2->define what controllers do
3->Add View to tabs on IB
4->Add UIWebView to View on IB
5->Connect UIWebView element on IB
6->Build
Classes and methods:
[webView1 loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
Link:http://www.youtube.com/watch?v=Dh_I4juJKrI
Switch on View Based Application
1->Create controllers for new page (with .xib)
2->Add command on first controller to awake from nib and define the method new view pops up
3->create button on IB to call the method
4->Build
Classes and methods:
SecondViewController *second = [[SecondViewController alloc] initWithNibName:nil bundle:nil];
[self presentModalViewController: second animated:YES];
Link:
http://www.youtube.com/watch?v=NHQWxXxz7-E
孙立平:中国社会正在加速走向溃败
10 years ago
No comments:
Post a Comment