iphone development tutorial

9
The iPhone SDK A quick introduction to the iPhone mobile platform Friday, October 16, 2009

Upload: bengotow

Post on 16-Nov-2014

6.462 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: iPhone Development Tutorial

The iPhone SDKA quick introduction to the iPhone mobile platform

Friday, October 16, 2009

Page 2: iPhone Development Tutorial

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

Page 3: iPhone Development Tutorial

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

Page 4: iPhone Development Tutorial

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

Page 5: iPhone Development Tutorial

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

Page 6: iPhone Development Tutorial

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

Page 7: iPhone Development Tutorial

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

Page 8: iPhone Development Tutorial

The 10 minute tutorial

Friday, October 16, 2009

Page 9: iPhone Development Tutorial

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