190 likes | 356 Views
iOS Work S ho P. : “A Primer”. Xcode 4 iOS 5. Objective-C. iOS applications are written in Objective-C language using the Cocoa Touch library Objective-C is a simple extension of the C language Cocoa Touch is a collection of Objective-C classes. Important Resources. iOS Dev Center
E N D
iOSWorkShoP : “A Primer” Xcode 4 iOS 5
Objective-C • iOS applications are written in Objective-C language using the Cocoa Touch library • Objective-C is a simple extension of the C language • Cocoa Touch is a collection of Objective-C classes
Important Resources • iOS Dev Center • Objective-C a primer • iOS developer reference library • Stackoverflow
Course outline Day 1 • Xcode brief • A simple application (UIViewController) • UITableViewController • Distribution and Deployment • Testing and Debugging Day 2 • Tab bar - Navigation Application (UITabBarController, UINavigationController) • Core Location • Map Kit • UIGestures • video
Some other notes • iOS apps are built for optimized visual appeal • Forget about staying put • There is no need to learn everything, only what you need • You are not always the first one to ask “that question”
X Platform • Phone Gap, titanium, appcobra
Some questions to think about • Free/Paid? • Accelerometer/compass sensors support? • In-App Purchase? • Push Notification? • AR • VR, Core Graphics, games, fast 2D graphics • Videoplayer • CG Transformation, animation
Audio Processing/noise filtering? • Vibration support? • Camera features?
Core Audio • AudioPlayer • Audio QueueServices • Remote IO audio units
Xcode 4 • IDE for Mac OS, iOS application development • Latest version of Xcode to-date: Xcode 4
About Xcode 4 • StoryBoarding • ARC memory management • Integrated Interface Builder – xib,nib files • Integrated instruments debugging tools • Code Signing • Application Loader • iPhone / iPad Simulator
Additional Tutorials • iPhoneSDKArticles.com • iCodeBlog.com • Zcentric.com • iPhoneExamples.com • Ray Wenderlich’sBlog
Memory allocation • Stack based/Heap Based stack based : NSString *mystring = @"mystring"; heap based : NSString *mystring=[[NSStringalloc] initWithString:@"hello"];
NavigationcontrollervsTabbarcontroller • dynamic vs static stack (list of controllers)
Methods • + class methods (static methods) does not require class to be instantiated to be called • instance methods - require an instance, called from the instance • + does not mean public for public you can use @public, buy default all methods are private
Declaring Properties • @property is shortcut to declaring properties • @synthesize is shortcut to implementing the properties at compile time
UIViewControllers • Delegate methods
Mutable vs Non Mutable objects • NSArray • NSMutableArray