Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building an iOS App - From Zero to App Store in...

Building an iOS App - From Zero to App Store in 30 minutes(-ish)

Presented at the iOS Dev Scout Hackathon 2012.

Michael Cheng

June 16, 2012
Tweet

More Decks by Michael Cheng

Other Decks in Programming

Transcript

  1. Agenda • Orientation to Xcode • Anatomy of an App

    • Basic UIKit controls • View Controller Lifecycle • Compiling an App • Provisioning & Deploying to iPhone • App Store Submission
  2. Anatomy of an App Info.plist AppDelegate Interface Builder / Storyboard

    Files ViewControllers RootViewController Graphic Assets Frameworks SQLite
  3. Basic UIKit Components • Everything is an Objective-C Object. •

    UIButton object is • Native iOS SDK interface components. • Optimized for touch interactions. • Interaction elements that are familiar to every iPhone/iPad user. • Can be extended and enhanced.
  4. View Controller Lifecycle • Callback methods that get triggered when

    the view controller gets: • Instantiated/loaded (viewDidLoad) • Before it appears (viewWillAppear) • After it appears (viewDidAppear) • Before it disappears (viewWillDisappear) • After it disappears (viewDidDisappear) • After its unloaded (viewDidUnload)
  5. Deploying App to iPhone • Get a iOS Developer Account.

    ($99USD) • Register your device. • Create App in iOS Provisioning Portal (no charge).
  6. Deploying App to iPhone • Get a iOS Developer Account.

    ($99USD) • Register your device. • Create App in iOS Provisioning Portal (no charge). • Create provisioning profile.
  7. Deploying App to iPhone • Get a iOS Developer Account.

    ($99USD) • Register your device. • Create App in iOS Provisioning Portal (no charge). • Create provisioning profile. • Refresh Xcode’s Organizer.
  8. Deploying App to iPhone • Get a iOS Developer Account.

    ($99USD) • Register your device. • Create App in iOS Provisioning Portal (no charge). • Create provisioning profile. • Refresh Xcode’s Organizer. • Select profile & build!
  9. App Store Submission • First Time: • Get Distribution Profile

    (one time). • Create App in iTunes Connect.
  10. App Store Submission • First Time: • Get Distribution Profile

    (one time). • Create App in iTunes Connect. • Submission Preparation: • Add new version in iTunes Connect.
  11. App Store Submission • First Time: • Get Distribution Profile

    (one time). • Create App in iTunes Connect. • Submission Preparation: • Add new version in iTunes Connect. • Build and upload archive file from Xcode.