Pro Core Data for iOS: Data Access and Persistence Engine for iPhone, iPad, and iPod touch (Paperback)

Michael Privat, Robert Warner

  • 出版商: Apress
  • 出版日期: 2011-01-28
  • 定價: $1,300
  • 售價: 2.3$299
  • 語言: 英文
  • 頁數: 400
  • 裝訂: Paperback
  • ISBN: 1430233559
  • ISBN-13: 9781430233558
  • 相關分類: Apple Developer
  • 立即出貨(限量) (庫存=2)

買這商品的人也買了...

商品描述

The power of Core Data allows iOS developers to efficiently store and retrieve application data using familiar object-oriented paradigms. Pro Core Data for iOS explains both how and why to use Core Data for data storage, from simple to advanced techniques. Covering common and advanced persistence patterns, this book prepares any iOS developer to store and retrieve data accurately and proficiently.

Lots of iOS development books touch on Core Data, taking you through a few mainstream use cases for storing and retrieving data in your iOS applications. In Pro Core Data for iOS, however, we take you further into Core Data and show you how to leverage the power of this data framework.

After reading this book, you’ll be able to answer all of these questions:

  • What are all the parts of Core Data, and how do they interact?
  • How do I create my own custom store?
  • Should I use plain NSManagedObject instances or custom classes?
  • How do I undo and redo Core Data actions?
  • How do I filter, sort, and aggregate data?
  • What is “faulting,” and why should I care?
  • Suppose I want to change my data model; how do I migrate my users’ data?

    Pro Core Data for iOS delves into these and other Core Data questions. With explanations, diagrams, code samples, and working explanations, this book will make you a Core Data pro!

    What you’ll learn

    • Organize data appropriately
    • Persist data efficiently
    • Use Apple’s tools effectively
    • Build Core Data applications
    • Use Core Data in advanced settings
    • Version and migrate data as your applications evolve

    Who this book is for

    All iPhone, iPad, and iPod touch developers whose applications manage any amount of data.

    Table of Contents

    1. Getting Started
    2. Understanding Core Data
    3. Storing Data: SQLite and Other Options
    4. Creating a Data Model
    5. Working with Data Objects
    6. Refining Result Sets
    7. Tuning Performance and Memory Usage
    8. Versioning and Migrating Data
    9. Using Core Data in Advanced Applications
  • 商品描述(中文翻譯)

    Core Data 的強大功能使得 iOS 開發者能夠使用熟悉的面向對象的範式高效地存儲和檢索應用程序數據。《Pro Core Data for iOS》解釋了如何以及為什麼使用 Core Data 進行數據存儲,從簡單到高級的技術都有涉及。本書涵蓋了常見和高級的持久性模式,使任何 iOS 開發者能夠準確且熟練地存儲和檢索數據。

    許多 iOS 開發書籍都會提及 Core Data,帶領您通過一些主流用例來存儲和檢索 iOS 應用程序中的數據。然而,《Pro Core Data for iOS》將帶您更深入地了解 Core Data,並展示如何充分利用這個數據框架的強大功能。

    閱讀完本書後,您將能夠回答以下所有問題:
    - Core Data 的所有部分是什麼,它們如何互動?
    - 如何創建自己的自定義存儲?
    - 應該使用普通的 NSManagedObject 實例還是自定義類?
    - 如何撤消和重做 Core Data 操作?
    - 如何過濾、排序和聚合數據?
    - 什麼是“faulting”,為什麼我應該關心?
    - 假設我想更改數據模型,如何遷移用戶的數據?

    《Pro Core Data for iOS》深入探討了這些和其他 Core Data 問題。通過解釋、圖表、代碼示例和實際解釋,本書將使您成為 Core Data 專家!

    你將學到什麼:
    - 適當地組織數據
    - 高效地持久化數據
    - 有效地使用 Apple 的工具
    - 構建 Core Data 應用程序
    - 在高級設置中使用 Core Data
    - 隨著應用程序的演進版本和遷移數據

    本書適合所有 iPhone、iPad 和 iPod touch 開發者,他們的應用程序管理任何數量的數據。

    目錄:
    1. 入門
    2. 理解 Core Data
    3. 存儲數據:SQLite 和其他選項
    4. 創建數據模型
    5. 使用數據對象
    6. 進一步優化結果集
    7. 調整性能和內存使用
    8. 版本和遷移數據
    9. 在高級應用程序中使用 Core Data