How to become iPhone developer
-
Upload
aleksandra-gavrilovska -
Category
Documents
-
view
256 -
download
4
description
Transcript of How to become iPhone developer
how to become iPhonedeveloper:)))
Agenda
• Tramdroid• How to become iPhone developer• iPhone OS overview• Core Application Architecture• Facebook Zodiac
Tramdroid
• first iPhone app made by Netcetera• first release in App Store on October 18, 2008• timetable application for public transit in the city of Zurich.• until today there are more than 39K downloads
• http://mobile.netcetera.ch/tramdroid/
How to become iPhone developer
• Hardware• Mac Mini or MacBook • iPhone or iPod Touch
How to become iPhone developer
• sign in on iPhone Developer Program • provides a complete and integrated process for developing,
testing and distribution of applications for iPhone and iPod touch
• cost: 99$• status: registered iPhone developer• http://developer.apple.com
iPhone Developer Program
• iPhone SDK• Tools and libs for:
• development• xCode• iPhone Simulator• Instruments• Interface Builder
• testing• real time, optimization
• distribution• App Store• Enterprise distribution• Ad Hoc distribution
iPhone OS overview
• operating system developed by Apple Inc. for the iPhone and iPod Touch
• similar to Mac OS X
Core Application Architecture
• Every iPhone app is created by using the UIKit Framework• From the time the application is launched by the user, to
the time it exits, the UIKit framework manage it• the application continuously receives events from the
system and must respond to those events• UIApplication object is receiving those events, but
responding to the events should be done in the code
Application Life Cycle
Application Life Cycle
The Event-Handling Cycle
Fundamental Design Patterns
Objective - C
• Object – oriented programming language• extension of standard ANSI C• syntax based on Smalltalk• created by Brad Cox and Tom Love in 1980• 1988, NeXT released their own Objective– C compiler and
libs• 1996, Apple included Objective - C and Objective-C based
developer tools in its new Mac Os X
Objective - C
• interface (.h) and implementation (.m) of a class are in separate files
• #import directive• class declaration
Objective - C
• method declaration• @property• @protocol
Facebook Zodiac
Facebook Connect for iPhone
• released on March 14, 2009• Facebook Connect provides
• Login mechanism • User session data• Integration with Feed application• ability to call methods from the Facebook API
• http://svn.facebook.com/svnroot/platform/clients/packages/fbconnect-iphone.zip
Facebook Zodiac
Questions ?