iOS Development for Non-Engineers
Jeremy Bridon
Core S2 - Core Software Solutions
www.cores2.com
What you really need
Language & Framework:
intimate relationship
Caveats of Objective-C
Protocols & Delegates
View-Hierarchy
View-Hierarchy
Demo!
View with sub-views
Protocols & Delegates
Protocol Example
Your UIViewController object needs to catch GPS update data. How?
CoreLocationControllerDelegate
@protocol CoreLocationControllerDelegate �@required�- (void)locationUpdate:(CLLocation *)location;�- (void)locationError:(NSError *)error;
@end
Demo!
1. Formal protocol implementation
Example: Catch user events
2. Casual delegate implementation
Example: timers