You are previewing Foundation iPhone App Development: Build An iPhone App in 5 Days with iOS 6 SDK.

Foundation iPhone App Development: Build An iPhone App in 5 Days with iOS 6 SDK

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. About the Cover Image Artist
  8. Acknowledgments
  9. Introduction
  10. Day 1: Objective C, Xcode and iOS SDK Foundation Work
    1. Chapter 1: Designing and Planning Our App
      1. The app idea
      2. The competition
      3. The App Store title
      4. The icon design
      5. The user interface design
      6. A little extra help
      7. Summary
    2. Chapter 2: Provisioning Our App for Development
      1. Download Xcode for free
      2. Registering as an Apple developer
      3. Enrolling in the iOS Developer Program
      4. iOS Provisioning Portal
      5. Summary
    3. Chapter 3: Setting Up Our Xcode Project
      1. Getting started
      2. Breaking down the project structure
      3. Hello World
      4. Adding an icon and launch screen
      5. Running the app on your iPhone
      6. Summary
    4. Chapter 4: Objective-C and Xcode: Developing a Blackjack Game
      1. The Game
      2. Creating the view
      3. Objective-C basics
      4. The Model
      5. Hooking it all together
      6. Summary
  11. Day 2: Storyboarding the User Interface
    1. Chapter 5: iPhone App Navigation, Views, and View Controllers
      1. Multiple view apps
      2. Mastering views and view controllers
      3. Navigating view controllers
      4. Summary
    2. Chapter 6: Views, Controls, Camera, Action!
      1. User interface controls and components
      2. More user interface action with the camera and Photo Library
      3. Summary
  12. Day 3: Working With Data
    1. Chapter 7: Table Views, Arrays, and Dictionaries—Oh My!
      1. Table views
      2. Table data source and delegate protocols
      3. Populating the table view with an array and a plist
      4. Summary
    2. Chapter 8: Data Persistence with Core Data
      1. An introduction to Core Data
      2. Implementing Core Data into Birthday Reminder
      3. Summary
    3. Chapter 9: iOS Skinning: Make Your Apps Lickable
      1. What makes an app lickable?
      2. Let’s get skinning!
      3. Summary
  13. Day 4: Importing Birthdays from the Address Book and Facebook
    1. Chapter 10: Importing Birthdays from the Address Book
      1. Enhancing the home view for an empty database
      2. Identifying view controller scenes in a storyboard
      3. Accessing and filtering the address book contacts
      4. Loading contact photos and data into our table view
      5. Creating a multiselect table view for importing birthdays
      6. Importing address book birthdays into the Core Data store
      7. Activating phone calls, SMS, and e-mails
      8. Deleting birthdays from the data store
      9. Summary
    2. Chapter 11: Working with Facebook and the iOS 6 Social Framework
      1. Registering a new app with
      2. Creating a Facebook import view controller
      3. Authenticating with Facebook using the Accounts framework
      4. Fetching Facebook birthdays
      5. Loading Facebook friends into the table view
      6. Importing Facebook birthdays into the Core Data store
      7. Loading and displaying remote images
      8. Posting to friends’ Facebook Walls
      9. Creating a Facebook Wall post view controller
      10. Summary
    3. Chapter 12: Settings and Local Notifications
      1. Working with static table view controllers
      2. Building the settings singleton class
      3. Updating birthdays
      4. Scheduling and firing reminder local notifications
      5. Summary
  14. Day 5: The Finishing Touches
    1. Chapter 13: Before You Launch: Increasing Your Chances of App Store Success
      1. Getting more 5-star App Store ratings
      2. Configuring Appirater
      3. Sharing on Facebook, Twitter, and by e-mail
      4. Summary
    2. Chapter 14: Submitting Our App
      1. Creating a new app submission with iTunes Connect
      2. Scheduling and pricing your app
      3. Configuring version information
      4. Setting up an app rating
      5. Adding a description and metadata
      6. Uploading screenshots and iTunes artwork
      7. App name secured and we have an iTunes App ID
      8. Preparing our app for App Store submission
      9. Creating an archive build of our project
      10. Signing and uploading the build
      11. Summary
  15. Index


Chapter 8

Data Persistence with Core Data

Continuing our data discovery day, you’re going to learn how to build a data storage solution using Core Data: Apple’s powerful framework for persisting data to the file system. When you reach the end of this chapter, your app will be reading and writing birthday objects to disk using Core Data. Birthday objects will remain available even if your app gets shut down for any reason.

Core Data powers the data management of many of your favorite apps, from Twitter and Instagram to Apple’s Mail and Calendar apps. These apps enable you to view data even when your iPhone is offline: diary entries in your Calendar, ...

The best content for your career. Discover unlimited learning on demand for around $1/day.