Core Data in Objective-C: Data Storage and Management for iOS and OS X (Paperback) 3/e

Marcus S. Zarra

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2016-07-19
  • 定價: $1,330
  • 售價: 9.0$1,197
  • 語言: 英文
  • 頁數: 240
  • 裝訂: Paperback
  • ISBN: 1680501232
  • ISBN-13: 9781680501230
  • 相關分類: Apple Developer
  • 立即出貨 (庫存=1)

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

商品描述

Core Data is intricate, powerful, and 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 can integrate with iCloud. Learn fundamental Core Data principles such as thread and memory management. Discover the powerful capabilities integrated into Core Data, and how to use Core Data in your iOS and OS X projects. All examples are updated for OS X El Capitan, iOS 9, and for the latest release of Core Data. In this third edition, the focus remains on Objective-C.

Core Data expert Marcus Zarra walks you through a fully developed application based around the Core Data APIs. You'll build on this application throughout the book, learning key Core Data principles such as NSPredicate, NSFetchRequest, thread management, and memory management.

Start with the basics of Core Data and learn how to use it to develop your application. Then delve deep into the API details. Explore how to get Core Data integrated into your application properly, and work with this flexible API to create convenience methods to improve your application's maintainability. Reduce your migration difficulties, integrate your Core Data app with iCloud and Watch Kit, and use Core Data in a queue-based 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 third edition updates all examples for OS X El Capitan and iOS 9, and gets you up to speed on changes in multithreading and batch processing. There's a new chapter on efficiently importing data from a network location, and a new discussion of how best to pre-load data into your application.

What You Need:

Mac OS X El Capitan and iOS 9 and a basic working knowledge of Objective-C

商品描述(中文翻譯)

Core Data 是一個複雜、強大且必要的工具,而這本書將成為您運用其功能的指南。Core Data 是 Apple 推薦的持久化資料的方式:它易於使用、內建於系統且可以與 iCloud 整合。學習 Core Data 的基本原則,例如執行緒和記憶體管理。探索 Core Data 內建的強大功能,以及如何在 iOS 和 OS X 專案中使用 Core Data。所有範例都已更新至 OS X El Capitan、iOS 9 和最新版本的 Core Data。在這第三版中,重點仍然放在 Objective-C 上。

Core Data 專家 Marcus Zarra 將帶領您透過一個完整的應用程式,基於 Core Data API 進行開發。您將在整本書中進一步建立這個應用程式,學習關鍵的 Core Data 原則,例如 NSPredicate、NSFetchRequest、執行緒管理和記憶體管理。

從 Core Data 的基礎開始,學習如何使用它來開發應用程式。然後深入研究 API 的細節。探索如何正確地將 Core Data 整合到您的應用程式中,並使用這個靈活的 API 創建方便的方法,以提高應用程式的可維護性。減少遷移困難,將您的 Core Data 應用程式與 iCloud 和 Watch Kit 整合,並在基於佇列的環境中使用 Core Data。在本書結束時,您將建立一個功能完整的應用程式,完全了解 Core Data,並學會如何將您的應用程式整合到 iPhone/iPad 平台中。

這第三版更新了所有範例,以符合 OS X El Capitan 和 iOS 9 的要求,並讓您熟悉多執行緒和批次處理的變化。新增了一個章節,介紹如何從網路位置高效地匯入資料,以及如何最佳地預先載入資料到您的應用程式中。

所需材料:
Mac OS X El Capitan 和 iOS 9,以及基本的 Objective-C 工作知識。