iPhone Development Tutorial
Transcript of iPhone Development Tutorial
The iPhone SDKA quick introduction to the iPhone mobile platform
Friday, October 16, 2009
Who am I?Author of three iPhone apps:
NetSketchMathomaticLayers
My work has appeared on Macworld.com, TUAW, Gizmodo, Engadget, ARS Technica, CNET, more!
WWDC 2009 Student Scholarship Recipient
Friday, October 16, 2009
Who am I?Author of three iPhone apps:
NetSketchMathomaticLayers
My work has appeared on Macworld.com, TUAW, Gizmodo, Engadget, ARS Technica, CNET, more!
WWDC 2009 Student Scholarship Recipient
Friday, October 16, 2009
Requirements
The SDK is available for free: developer.apple.com
An Intel-based computer running Mac OS X is required for development
Deploying applications to a device requires a $99 yearly subscription to ADC
Applications must be approved by Apple, and they keep 30% of all proceeds
Friday, October 16, 2009
Objective-C
Objective-C is a thin, fully object-oriented layer on top of C. Easy to pick up if you know Java.
Used for ALL high-level APIs in Mac OS X and iPhone.
Modern OO concepts: dynamic messaging, introspection, dynamic class extension...
Friday, October 16, 2009
Objective-CAll C code is still valid Objective-C. GCC can compile C, C++, and Objective-C at the same time so projects can utilize all three languages.
Like C, Objective-C assumes you know what you’re doing:
Liberal type coercionSparing use of exceptionsDuck-typed (“If it looks like a duck, acts like a duck, and quacks like a duck, it’s a duck”)
Friday, October 16, 2009
Tools
iPhone developers get to use the same tools designed for writing Mac OS X apps: XCode and Interface Builder.
Read: Desktop-quality tools targeting a mobile platform!
Incredible suite of analysis instruments: CPU and OpenGL profiling, leak detection (on the phone!)
Friday, October 16, 2009
The 10 minute tutorial
Friday, October 16, 2009
Q&A
The demo project is available on my blog: http://www.gotow.net/creative/wordpress
Feel free to check out Layers, NetSketch, and Mathomatic on the iTunes Store: http://layersforiphone.com/ http://netsketchapp.com/ http://gotow.net/mathomatic
Friday, October 16, 2009