Core Data: Data Storage and Management for iOS, OS X, and iCloud, 2/e (Paperback)

Marcus S. Zarra

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2013-02-15
  • 售價: $1,088
  • 貴賓價: 9.5$1,034
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1937785084
  • ISBN-13: 9781937785086
  • 相關分類: Apple Developer
  • 立即出貨(限量) (庫存=1)

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

商品描述

Core Data is intricate, powerful, necessary - and this book is your guide to harnessing its power. Core Data is Apple's recommended way to persist data: it's easy to use, built-in, and integrated with iCloud. You'll learn fundamental Core Data principles such as thread and memory management, and you'll discover how to use Core Data in your iPhone, iPad, and OS X projects by using NSPredicate to filter data and adding iCloud to your applications.

What You Need:

Mac OS X Mountain Lion and iOS 6

Cocoa expert Marcus Zarra walks you through developing a full-featured application based around the Core Data APIs. You'll build up a single application throughout the book, learning key Core Data principles such as NSPredicate, thread management, and memory management.

You'll start with the basics of Core Data and learn how to use it to develop your application. Then you'll delve deep into the details of the API. You'll explore not only how to get Core Data integrated into your application properly, but even better, how to work with the API's flexibility to create convenience methods to improve your application's maintainability. You'll learn how to reduce your number of mapping models, integrate your Core Data app with Spotlight and Quick Look, connect your application with sync services, and find out how to use Core Data in a multithreaded environment. By the end of the book, you'll have built a full-featured application, gained a complete understanding of Core Data, and learned how to integrate your application into the iPhone/iPad platform.

This second edition updates all examples for OS X Mountain Lion and iOS 6, gets you up to speed on changes in multithreading, and provides new chapters covering iCloud and NSFetchedResultsController.

商品描述(中文翻譯)

Core Data 是一個複雜、強大且必要的工具,而這本書將成為您運用其功能的指南。Core Data 是蘋果推薦的持久化數據的方式:它易於使用、內建於系統並與iCloud整合。您將學習到基本的 Core Data 原則,例如線程和內存管理,並且透過使用 NSPredicate 來過濾數據以及將 iCloud 添加到您的應用程式中,了解如何在 iPhone、iPad 和 OS X 專案中使用 Core Data。

所需環境:
Mac OS X Mountain Lion 和 iOS 6

Cocoa 專家 Marcus Zarra 將帶領您開發一個基於 Core Data API 的完整應用程式。您將在整本書中逐步建立一個應用程式,學習到關鍵的 Core Data 原則,例如 NSPredicate、線程管理和內存管理。

您將從 Core Data 的基礎知識開始,並學習如何使用它來開發應用程式。然後,您將深入研究 API 的細節。您不僅將探索如何正確地將 Core Data 整合到您的應用程式中,更重要的是,您將學習如何利用 API 的靈活性來創建方便的方法,以提高應用程式的可維護性。您將學習如何減少映射模型的數量,將 Core Data 應用程式與 Spotlight 和 Quick Look 整合,將應用程式連接到同步服務,以及如何在多線程環境中使用 Core Data。在本書結束時,您將建立一個功能完整的應用程式,完全了解 Core Data,並學會如何將您的應用程式整合到 iPhone/iPad 平台中。

這本第二版更新了所有範例,以適應 OS X Mountain Lion 和 iOS 6,讓您了解多線程方面的變化,並提供了新的章節,涵蓋了 iCloud 和 NSFetchedResultsController。