1 / 21

Getting Started

Getting Started. With iOS Development. Why Apple?. July 7, 2011 –15 billion apps downloaded 425,000 apps in iTunes 100,000 native iPad apps Apple has paid developers over 2.5 Billion. AppAdvice.com , http://appadvice.com/appnn/2011/07/apple-15-billion-apps-downloaded-and-counting.

farhani
Download Presentation

Getting Started

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting Started With iOS Development

  2. Why Apple? • July 7, 2011 –15 billion apps downloaded • 425,000 apps in iTunes • 100,000 native iPad apps • Apple has paid developers over 2.5 Billion AppAdvice.com, http://appadvice.com/appnn/2011/07/apple-15-billion-apps-downloaded-and-counting

  3. Requirements? • Mac running Snow Leopard • Register to become an iPhone Developer (http://developer.apple.com/iphone • Free • Standard ($99) • Enterprise ($299) • Download SDK from Apple • SDK 3.x free (the one we are using) • SDK 4.x costs $5 from Mac App Store

  4. More Requirements (Standard or Enterprise Developers) Register for iTunes Connect and agree to Apple’s distribution agreement Setup Your Team by adding to members and granting administrative privileges Request certificates for development and later for distribution Register all iPhones/iPod touches you are using for development Register application identifiers

  5. Programming Language • Uses C, C++ and Objective C 2.0 programming language • The Objective C 2.0 Programming Language (http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/ObjectiveC • Programming in Objective C 2.0 by Kochan • Cocoa Touch application framework

  6. Why Objective-C? Started with C in the 1970’s Subset of CSmallTalkObjective-C Licensed by NEXT Software Bought by Apple in 1996 NEXTSTEP environment used to create Mac OS X Objective-C native development language of Mac OS and iOS (iPhone, iPod Touch and iPad)

  7. iOS Versions http://en.wikipedia.org/wiki/IOS_version_history • iOS 3.x (2009-2010) • iPad • iPhone 2 • iPhone 3 and 3S • iOS 4.x (2010 to current) • iPhone 3 will run some of the features • iPhone 3S (with limits) and iPhone 4 will run OS 4.x • iPad 1 • iPad 2 • iPod Touch • iOS 5 (2011 - ?) • iPhone 3S • iPhone 4 • iPad 1 • iPad 2 • iPod Touch 3G and 4G

  8. What is new in OS 4.x? Multi-tasking! ….sorta…. Folders to hold your apps iBooks included Create playlists on the phone Wireless keyboard support And other features…(www.apple.com/iphone/softwareupdate)

  9. What is New in iOS 5? Notification Center iMessage Newsstand Reminders Twitter integration Improved camera Photo editing Safari and iCloud Wi-Fi Sync Does not require a computer with iTunes

  10. iOS 4 Application Limitations • Only One Active Application. May under certain circumstances have an application running in the background. • Only One Window with a fixed size and location. • Limited Access • Read and write only from your own Sandbox. Sandbox is where you are allowed to store documents, preferences, or other data. • Not able to do Administrative type tasks • Limited Response Time • May have to shut down fast • Must load quickly • Requires a computer with iTunes for software updates

  11. Other iOS App Development Limitations • Limited Screen Size • 320 x 480 px for iPhone and iPod Touch • 640 x 960 px for Retina devices • 1024 x 768 for iPad • Limited System Resources • 256 MB or 512 MB of RAM (only half available for an app, rest is OS upkeep) • No swap file, very limited on available memory • Energy usage limits • Using touch and drag, not text and scroll • No garbage collection! Must handle manually • Must deal with user behavior

  12. What’s in the SDK? • Xcode • Source editing • Project management • Documentation • Debugger • Interface Builder • Prototyping tool for designing interfaces • Drag and drop connectivity with underlying code • Simulator • Instruments

  13. Limitations of SDK Simulator • based on Mac frameworks, not iPhone frameworks • missing some hardware features • Accelerometer • Camera • Core location is fixed on Apple headquarters • not able to deal with push notifications or keychain security • does not process audio the same

  14. Know Your Target Device! Need to know characteristics of each generation of iPhone, iPad and iPod Touch and decide which you are going target when you develop your app.

  15. Overview of iPod Touch, iPhone and iPad Generations From Wikipedia: http://en.wikipedia.org/wiki/List_of_iOS_devices

  16. Resources Apple Developer Resources (http://developer.apple.com/library/ios/#navigation/)

  17. Book Resources—iPhone/iPad Development • More iPhone 3 Development: Tackling iPhone SDK 3 By: Dave Mark; Jeff LaMarche Publisher: Apress Publication Date: 15-JAN-2010 • iPhone Programming: The Big Nerd Ranch Guide By: Joe Conway; Aaron Hillegass Publisher: Big Nerd Ranch Guides Publication Date: 13-APR-2010 • iPhone and iPad Apps for Absolute Beginners By: Dr. Rory Lewis Publisher: Apress Publication Date: 07-JUN-2010 • Beginning iPhone 3 Development: Exploring the iPhone SDK By: Dave Mark; Jeff LaMarche Publisher: Apress Publication Date: 15-JUL-2009 • Sams Teach Yourself iPhone Application Development in 24 Hours, Second Edition By: John Ray Publisher: Que Publication Date: 15-OCT-2010 • Beginning iPad Development for iPhone Developers: Mastering the iPad SDK By: Jack Nutting; Dave Wooldridge; David Mark Publisher: Apress Publication Date: 31-JUL-2010

  18. Book Resources—iPhone/iPad Design and Business • The Business of iPhone App Development: Making and Marketing Apps that Succeed By: Dave Wooldridge; Michael Schneider Publisher: Apress Publication Date: 17-MAR-2010 • Designing the Obvious: A Common Sense Approach to Web and Mobile Application Design, Second Edition By: Robert Hoekman Jr. Publisher: New Riders Publication Date: 16-NOV-2010 • iPhone® and iPad™ Apps Marketing: Secrets to Selling Your iPhone and iPad Apps By: Jeffrey Hughes Publisher: Que Publication Date: 12-APR-2010 • App Savvy By: Ken Yarmosh Publisher: O'Reilly Media, Inc. Publication Date: 20-OCT-2010 • Tapworthy By: Josh Clark Publisher: O'Reilly Media, Inc. Publication Date: 18-JUN-2010 • Designing the iPhone User Experience: A User-Centered Approach to Sketching and Prototyping iPhone Apps By: Suzanne Ginsburg Publisher: Addison-Wesley Professional Publication Date: 12-AUG-2010

  19. Book Resources—Objective C • Objective-C for Absolute Beginners: iPhone, iPad, and Mac Programming Made Easy By: Gary Bennett; Mitch Fisher; Brad Lees Publisher: Apress Publication Date: 31-AUG-2010 • A Beginners guide: Objective-C for iPhone Developers By: James A Brannan Publisher: McGraw Hill Publication Date: 05-May-2010 • Objective-C: Visual QuickStart Guide By: Steven Holzner Publisher: Peachpit Press Publication Date: 17-FEB-2010 • Programming in Objective-C 2.0, Second Edition By: Stephen G. Kochan Publisher: Addison-Wesley Professional Publication Date: 29-DEC-2008 Insert Date: 23-AUG-2008 • Learn Objective-C on the Mac By: Mark Dalrymple; Scott Knaster Publisher: Apress Publication Date: 01-JAN-2008 • Learning Objective-C 2.0: A Hands-On Guide to Objective-C for Mac and iOS Developers By: Robert Clair Publisher: Addison-Wesley Professional Publication Date: 23-JUL-2010

  20. Book Resources—Cocoa Touch and SDK • Learn Xcode Tools for Mac OS X and iPhone Development By: Ian Piper Publisher: Apress Publication Date: 30-DEC-2009 • Xcode 3 Unleashed By: Fritz Anderson Publisher: Sams Publication Date: 17-JUL-2008 • Cocoa Touch™ for iPhone® OS 3 By: JivaDeVoe Publisher: John Wiley & Sons Publication Date: 16-NOV-2009 • Cocoa® Programming for Mac® OS X, Third Edition By: Aaron Hillegass Publisher: Addison-Wesley Professional Publication Date: 05-MAY-2008 • Cocoa Programming: A Quick-Start Guide for Developers By: Daniel H. Steinberg Publisher: The Pragmatic BookshelfPublication Date:23-April-2010

  21. Navigating the App Stores • iTunes for iPhone, iPod and iPad Apps • By popular • By category • By release date • Free vs paid apps • Mac App Store

More Related