how to build an i phone app

15
iPhone Development In 10 easy steps Kate Ho @kateho www.startupcafe.co.uk (and get really really rich)

Upload: kate-ho

Post on 24-Jun-2015

822 views

Category:

Technology


6 download

DESCRIPTION

Talk on how to develop for the iPhone

TRANSCRIPT

Page 1: How To Build An I Phone App

iPhone DevelopmentIn 10 easy steps

Kate [email protected]

(and get really really rich)

Page 2: How To Build An I Phone App

Step 1: Get a macand an iPod Touch/iPhone*

You’ll need an Intel based Mac – leopard or later*Although you might not need one if you’re not needing motion based or

location information or doing anything that needs web services.

Page 3: How To Build An I Phone App

Step 2: Have an idea and Prototype it

Draw it out to scale. Try and draw every screen before you start. Use www.iphonemockup.lkmc.ch

Page 4: How To Build An I Phone App

Step 3: Fire up Xcode

and choose the relevant application type

Page 5: How To Build An I Phone App

Step 3: Fire up Xcode

and choose the relevant application type

Page 6: How To Build An I Phone App

Step 4: Open Up Interface Builder

Build your interface with the relevant widgets

Page 7: How To Build An I Phone App

Step 5: Write some code

Open up Xcode again, and write your functions in Objective-C

Page 8: How To Build An I Phone App

Step 6: Hook things up

Go back to the interface builder and hook the buttons to the relevant functions.

Page 9: How To Build An I Phone App
Page 10: How To Build An I Phone App
Page 11: How To Build An I Phone App

Step 7: Check out your app On the simulator

Build and Run. Check that it works as you intended it to.

Page 12: How To Build An I Phone App

Step 8: Check for memory leaks using instrument

You have to do your own garage collection. This is because it eats up too much CPU time to do it for you. But this is not that difficult since you won’t be building a BIG app.

Page 13: How To Build An I Phone App

Step 9: TEST ON A REAL DEVICE!

Don’t submit until you’ve tested on a device. Your pretend emulator will have a perfect signal, run with under perfect conditions and with all the memory that your macbook has. Your real iPhone won’t! Sign up to ADC (pay $99) to store on real device.

Page 14: How To Build An I Phone App

Step 10: Submit to iPhone Apps Store* +Make money**

*You’ll probably have to wait x months (where x >1 for your application to be approved. At the moment, Apple do not allow apps not compatible with 3.0 software, pornography, make the device look broken, look like it is breaking/defacing Apple products.

** Apple takes 30% and you’ll have to make a lot of money before its worthwhile

Page 15: How To Build An I Phone App