Lecture 07_1

Lecture 07_1 - CS193p Spring 2010 Monday Announcements...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
CS193p Spring 2010 Monday, April 19, 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Announcements Development on Device Send your UDID to your TA and we’ll set it up in the University Developer Program Portal. We’re heading into 3.2 Only territory today So you’ll have to be thoughtful about what platform you’re on Monday, April 19, 2010
Background image of page 2
Communication E-mail Questions are best sent to [email protected] Sending directly to instructor or TA’s risks slow response. Web Site Very Important! http://cs193p.stanford.edu All lectures, assignments, code, etc. will be there. This site will be your best friend when it comes to getting info. Monday, April 19, 2010
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
To day ’s To pics Debugger More “Controllers of Controllers” UITabBarController UISplitViewController UIPopoverController Universal Applications Monday, April 19, 2010
Background image of page 4
UITabBarController Monday, April 19, 2010
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
UITabBarController View Controller View Controller View Controller Tab Bar Controller - (void)applicationDidFinishLaunching:(UIApp ... ) { UITabBarController *tbc = [[UITabBarController alloc] init]; UIViewController *vc1 = . ..; UIViewController *vc2 = . ..; tbc.viewControllers = [NSArray arrayWithObjects: vc1, vc2, ... , nil]; [window addSubview:tbc.view]; } Monday, April 19, 2010
Background image of page 6
UITabBarController View Controller View Controller View Controller Tab Bar Controller By default View Controller’s title property (no image) Monday, April 19, 2010
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
UITabBarController View Controller View Controller View Controller Tab Bar Controller or . .. View Controller’s @property UITabBarItem *tabBarItem; - initWithNibName: . .. { if (self = [super initWithNibName:. ..]) { UITabBarItem *item = [[UITabBarItem alloc] initWithTitle:@”Timer” image:[UIImage imageNamed:@”timer.png” tag:0]; self.tabBarItem = item; } return self; } Monday, April 19, 2010
Background image of page 8
UITabBarController View Controller View Controller View Controller Tab Bar Controller or . .. View Controller’s @property UITabBarItem *tabBarItem; - initWithNibName: . .. { if (self = [super initWithNibName:. ..]) { UITabBarItem *item = [[UITabBarItem alloc] initWithSystemItem:UITabBarSystemItemSearch tag:0]; self.tabBarItem = item; } return self; } Monday, April 19, 2010
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
UITabBarController View Controller View Controller View Controller Tab Bar Controller or . .. View Controller’s @property UITabBarItem *tabBarItem; - (void)somethingHappened { UIBarButtonItem *item = . ..; item.badgeValue = @”R”; self.tabBarItem = item; } R Monday, April 19, 2010
Background image of page 10
UITabBarController View Controller View Controller View Controller Tab Bar Controller What if there are more than 4 View Controllers? View Controller View Controller View Controller View Controller Monday, April 19, 2010
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
View Controller View Controller View Controller Tab Bar Controller What if there are more than 4 View Controllers? View Controller
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/15/2011 for the course CS 193P taught by Professor Evandoll during the Spring '09 term at Stanford.

Page1 / 39

Lecture 07_1 - CS193p Spring 2010 Monday Announcements...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online