The Ultimate Guide to Choosing WordPress Pros and Cons
iPhone Camp Birmingham (Bham) - Intro To iPhone Development
1. Intro to iPhone
Development
Andria Jensen
Co-Owner of Appsolute Genius
http://www.appsolutegenius.com
andria@appsolutegenius.com
@andriajensen
@appsolutegenius
2. Why ?!?
•over 35 million devices
•instant audience
•over $2.4B in sales each year
•Apple gives you all the tools to be
successful - you just have to use
them!
10. Objective-C
•Arguments are denoted with colons
•May be named, but not required
- (void) drawBoxWithHeight:(float)height andWidth:(float)width;
- (void)viewDidLoad {
[self.navigationController setNavigationBarHidden:YES];
[self drawBoxWithHeight:5.0 andWidth:10.0];
[super viewDidLoad];
}
11. Objective-C
•Everything comes from NSObject
•@interface - class declaration
•@property
@interface User : NSObject {
NSString *name;
NSString *email;
NSString *phone;
}
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *email;
@property (nonatomic, retain) NSString *phone;
@end
12. Model-View-Controller
How bout an MVC song???
http://www.youtube.com/watch?v=YYvOGPMLVDo
13. Interface Builder
•IBAction - links your functions to
your controls’ actions
•IBOutlet - links your properties to
controls in your interface
14. Views
•Everything is a UIView
•One window with multiple views
•Controls are subclassed views
•320x480
15. Hello World!
•Let’s see the demo already...
•You can see this in much more
step-by-step detail at:
http://developer.apple.com/iphone/library/documentation/
iPhone/Conceptual/iPhone101/Articles/00_Introduction.html