This document provides an agenda for a presentation on programming in Objective-C. It introduces Xcode and common frameworks like UIKit. It discusses Objective-C concepts like message passing and memory management. It also covers design patterns frequently used in iOS like delegation, notifications, and singleton. Common UIKit classes like view controllers and views are demonstrated.
5. UIApplicationMain
❖ UIApplicationMain:
❖ This function is called in the main
entry point to create the
application object and the
application delegate and set up
the event loop. #Apple doc
UIApplication
AppDelegate
UIApplicationMain create
Xcode create
20. selector
• name of method , function literal
• compile time
SEL aSelector = @selector(methodName);
• run time
SEL aSelector = NSSelectorFromString(@"print");
NSString* selectorStr =
NSStringFromSelector(aSelector);
NSLog(@"%@", selectorStr);