Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch (Paperback)

Tim Isted, Tom Harrington

  • 出版商: Addison Wesley
  • 出版日期: 2011-06-03
  • 定價: $1,320
  • 售價: 5.0$660
  • 語言: 英文
  • 頁數: 304
  • 裝訂: Paperback
  • ISBN: 0321670426
  • ISBN-13: 9780321670427
  • 相關分類: Apple Developer
  • 立即出貨(限量) (庫存=4)

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

相關主題

商品描述

Today, virtually every non-trivial iPhone and iPad app must manage data—quickly, smoothly, reliably, and with minimal impact on the CPU to conserve battery life. Core Data, Apple’s ready-made data persistence layer, can help you achieve all these goals. In Core Data for iOS, two leading iOS developers teach you the entire Core Data framework from the ground up. Writing for intermediate-to-advanced iOS developers, Tim Isted and Tom Harrington thoroughly explain how Core Data is used on iOS devices, introduce each of its primary classes, and show how they interact to provide amazing functionality with minimal configuration. You’ll learn how to store, fetch, and validate data; provide it efficiently to views; and much more. Isted and Harrington first give you a firm grounding in the technology, and then present real-world examples. They present multiple sample projects, as well as a start-to-finish, chapter-length case study. Coverage includes

 

• Understanding Core Data’s features, classes, and interactions

• Using Core Data in MVC-based iOS app development

• Mapping relational data to object models, and building them with Xcode 4’s Data Modeler

• Working with managed objects and using UITableView to display them

• Creating predicates to match numbers, data, and objects

• Maintaining compatibility across versions of an app’s data model

• Tracking managed object contexts across view controllers

• Using Core Data’s automatic Undo functionality

• Integrating abstract entities, entity inheritance, and multiple view controllers into a complete app

• Optimizing for iOS devices’ tight memory limits

• Diagnosing and fixing common Core Data problems

 

Introducing Addison-Wesley’s new Core Frameworks Series, written for experienced iOS developers by world-class Mac and iOS developers, these are the first comprehensive, code-rich reference guides to Apple’s Core Frameworks.

 

商品描述(中文翻譯)

如今,幾乎每個複雜的iPhone和iPad應用程式都需要快速、流暢、可靠地管理數據,並且對CPU的影響要盡量小以節省電池壽命。Apple提供的現成數據持久層Core Data可以幫助您實現所有這些目標。在《Core Data for iOS》一書中,兩位領先的iOS開發者Tim Isted和Tom Harrington從頭開始教您使用整個Core Data框架。他們針對中高級iOS開發者詳細解釋了Core Data在iOS設備上的使用方式,介紹了每個主要類別的功能,並展示了它們如何相互作用以提供出色的功能,並且只需進行最少的配置。您將學習如何存儲、提取和驗證數據;高效地將數據提供給視圖等等。Isted和Harrington首先為您提供了扎實的技術基礎,然後呈現了實際的示例項目。他們提供了多個示例項目,以及一個完整的案例研究,涵蓋的內容包括:

• 理解Core Data的功能、類別和相互作用
• 在基於MVC的iOS應用程式開發中使用Core Data
• 將關聯數據映射到對象模型,並使用Xcode 4的數據建模工具構建它們
• 使用托管對象並使用UITableView顯示它們
• 創建用於匹配數字、數據和對象的謂詞
• 在應用程式數據模型的不同版本之間保持兼容性
• 在視圖控制器之間跟踪托管對象上下文
• 使用Core Data的自動撤銷功能
• 將抽象實體、實體繼承和多個視圖控制器集成到完整的應用程式中
• 適應iOS設備的內存限制
• 診斷和修復常見的Core Data問題

此外,這本書還介紹了Addison-Wesley的新Core Frameworks系列,這是專為經驗豐富的iOS開發者撰寫的,由世界一流的Mac和iOS開發者編寫的豐富代碼的綜合參考指南,這些指南是關於Apple的核心框架的第一本全面參考指南。