Core Data in Swift: Data Storage and Management for iOS and OS X

Marcus S. Zarra

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2016-07-19
  • 售價: $1,500
  • 貴賓價: 9.5$1,425
  • 語言: 英文
  • 頁數: 214
  • 裝訂: Paperback
  • ISBN: 1680501704
  • ISBN-13: 9781680501704
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Core Data is intricate, powerful, and necessary. Discover the powerful capabilities integrated into Core Data, and how to use Core Data in your iOS and OS X projects. All examples are current for OS X El Capitan, iOS 9, and the latest release of Core Data. All the code is written in Swift, including numerous examples of how best to integrate Core Data with Apple's newest programming language.

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 elements 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 book is based on Core Data in Objective-C, Third Edition. It focuses on Swift and adds an additional chapter on how to integrate Core Data with an efficient network implementation, with best practices on how to load and pre-load data into your Swift application.

What You Need:

Mac OS X El Capitan and iOS 9 and a basic working knowledge of Swift

商品描述(中文翻譯)

Core Data 是一個複雜、強大且必要的工具。本書將介紹 Core Data 的強大功能,以及如何在 iOS 和 OS X 專案中使用 Core Data。所有範例都適用於 OS X El Capitan、iOS 9 和最新版本的 Core Data。所有程式碼都是使用 Swift 撰寫的,其中包含了許多最佳實踐,以便最有效地將 Core Data 整合到 Apple 最新的程式語言中。

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 平台中。

本書基於《Objective-C Core Data 第三版》。它專注於 Swift,並新增了一章關於如何將 Core Data 整合到高效的網路實作中,並提供了在 Swift 應用程式中載入和預載資料的最佳實踐。

所需材料:
- Mac OS X El Capitan 和 iOS 9
- 基本的 Swift 工作知識