Intro to iPhone
 Development
         Andria Jensen
   Co-Owner of Appsolute Genius

  http://www.appsolutegenius.com
    ...
Why ?!?
•over 35 million devices
•instant audience
•over $2.4B in sales each year
•Apple gives you all the tools to be
  s...
Because it’s fun




...and maybe you’ll make a little money
How do I start?
•Get an Intel-based Mac and iPhone
  or iPod Touch
•Create a developer account
•Download the SDK & XCode
Ok..now what?

•Research
•Learn
•Start coding
•Seriously....just start coding!!
Learn what?
•Objective-C
•Model-View-Controller pattern
•Interface Builder
•NS Libraries
•Human Interface Guidelines (HIG)
Learn how?

•Read the documentation
•Look for tutorials online
•http://developer.apple.com/iphone
•Read a book
•Ask questi...
Objective-C
•superset of the C language
•can use C++ (but not recommended)
•no garbage collection
Square Brackets
•bracket syntax == [self doSomething]
•dot syntax == self.myProperty
•self.myProperty==[self myProperty]
Objective-C
•Arguments are denoted with colons
•May be named, but not required
- (void) drawBoxWithHeight:(float)height an...
Objective-C
•Everything comes from NSObject
•@interface - class declaration
•@property
    @interface User : NSObject {
  ...
Model-View-Controller




          How bout an MVC song???
http://www.youtube.com/watch?v=YYvOGPMLVDo
Interface Builder

•IBAction - links your functions to
  your controls’ actions
•IBOutlet - links your properties to
  con...
Views
•Everything is a UIView
•One window with multiple views
•Controls are subclassed views
•320x480
Hello World!
•Let’s see the demo already...
•You can see this in much more
  step-by-step detail at:
  http://developer.ap...
Questions?

• Contact me
• andria@appsolutegenius.com
• @andriajensen
• @appsolutegenius
Upcoming SlideShare
Loading in …5
×

iPhone Camp Birmingham (Bham) - Intro To iPhone Development

1,129 views
1,097 views

Published on

Intro to iPhone Development as presented at iPhone Camp Birmingham.

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,129
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
26
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • iPhone Camp Birmingham (Bham) - Intro To iPhone Development

    1. 1. Intro to iPhone Development Andria Jensen Co-Owner of Appsolute Genius http://www.appsolutegenius.com andria@appsolutegenius.com @andriajensen @appsolutegenius
    2. 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!
    3. 3. Because it’s fun ...and maybe you’ll make a little money
    4. 4. How do I start? •Get an Intel-based Mac and iPhone or iPod Touch •Create a developer account •Download the SDK & XCode
    5. 5. Ok..now what? •Research •Learn •Start coding •Seriously....just start coding!!
    6. 6. Learn what? •Objective-C •Model-View-Controller pattern •Interface Builder •NS Libraries •Human Interface Guidelines (HIG)
    7. 7. Learn how? •Read the documentation •Look for tutorials online •http://developer.apple.com/iphone •Read a book •Ask questions!!
    8. 8. Objective-C •superset of the C language •can use C++ (but not recommended) •no garbage collection
    9. 9. Square Brackets •bracket syntax == [self doSomething] •dot syntax == self.myProperty •self.myProperty==[self myProperty]
    10. 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. 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. 12. Model-View-Controller How bout an MVC song??? http://www.youtube.com/watch?v=YYvOGPMLVDo
    13. 13. Interface Builder •IBAction - links your functions to your controls’ actions •IBOutlet - links your properties to controls in your interface
    14. 14. Views •Everything is a UIView •One window with multiple views •Controls are subclassed views •320x480
    15. 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
    16. 16. Questions? • Contact me • andria@appsolutegenius.com • @andriajensen • @appsolutegenius

    ×