You are previewing Professional iOS Database Application Programming, 2nd Edition.
O'Reilly logo
Professional iOS Database Application Programming, 2nd Edition

Book Description

Updated and revised coverage that includes the latest versions of iOS and Xcode

Whether you're a novice or experienced developer, you will want to dive into this updated resource on database application programming for the iPhone and iPad. Packed with more than 50 percent new and revised material - including completely rebuilt code, screenshots, and full coverage of new features pertaining to database programming and enterprise integration in iOS 6 - this must-have book intends to continue the precedent set by the previous edition by helping thousands of developers master database application programming.

  • Shows you how to store data using SQLite, model and manage data using Core Data, and integrate with Web Services

  • Explains how to take advantage of the built-in capabilities of the iPhone and iPad

  • Details techniques for integrating iOS applications into enterprise class systems

  • Encourages you to take advantage of multi-core processors, store data in the cloud, and use storyboards to develop the UI for your app

By the end of the book, you will be able to confidently implement a data driven application for the iPhone and iPad and integrate an iOS application within an existing enterprise system.

Table of Contents

  1. Cover
  2. Contents
  3. Part I: Manipulating and Displaying data on the Iphone and Ipad
    1. Chapter 1: Introducing Data-Driven Applications
      1. Building a Simple Data-Driven Application
      2. Further Exploration
      3. Moving Forward
    2. Chapter 2: The iOS Database: SQLite
      1. What is SQLite?
      2. Building a Simple Database
      3. Connecting to Your Database
      4. Moving Forward
    3. Chapter 3: Displaying Your Data: The UITableView
      1. Customizing the Table View
      2. Implementing Sections and an Index
      3. Implementing Search
      4. Optimizing Table View Performance
      5. Moving Forward
    4. Chapter 4: User Interface Elements
      1. Building Your Interface with Storyboards
      2. Displaying Master/Detail Data with the Split View Controller
      3. Displaying Data in a Popover
      4. Gesture Recognizers
      5. File Sharing Support
      6. Moving Forward
  4. Part II: Managing Your data with Core Data
    1. Chapter 5: Introducing Core Data
      1. The Basics of Core Data
      2. The Core Data Architecture
      3. Core Data and iCloud
      4. Data Protection
      5. Using Core Data: A Simple Task Manager
      6. Moving Forward
    2. Chapter 6: Modeling Data in Xcode
      1. Modeling Your Data
      2. Creating Custom NSManagedObject Subclasses
      3. Creating the Tasks Model
      4. Moving Forward
    3. Chapter 7: Building a Core Data Application
      1. The Tasks Application Architecture
      2. Coding the Application
      3. MasterViewController and the Basic UI
      4. Generating the Managed Object Subclasses
      5. Adding and Viewing Tasks
      6. Building the Editing Controllers
      7. Displaying Results in the MasterViewController
      8. Generating Grouped Tables Using the NSFetchedResultsController
      9. Implementing Custom Managed Objects
      10. Moving Forward
    4. Chapter 8: Core Data–Related Cocoa Features
      1. Key-Value Coding
      2. Key-Value Observing
      3. Using NSPredicate
      4. Sort Descriptors
      5. Moving Forward
    5. Chapter 9: Core Data Migration and Performance
      1. Model Versioning and Schema Migration
      2. Safely Threading with Core Data
      3. Core Data Performance
      4. Performance Analysis Using Instruments
      5. Moving Forward
  5. Part III: Application Integration using Web Services
    1. Chapter 10: Working with Xml on the iphone
      1. iOS SDK and the Web
      2. XML and the iPhone SDK
      3. Moving Forward
    2. Chapter 11: Integrating with Web Services
      1. Network Application Architecture
      2. Introducing Web Services
      3. Example 1: Location-Based Search
      4. Example 2: Content Analysis
      5. Moving Forward
  6. Appendix A: Tools for Troubleshooting Your Applications
    1. Instruments
    2. The Static Analyzer
  7. Introduction
  8. Advertisements