Core Data: Apple's API for Persisting Data on Mac OS X (Paperback)

Marcus S. Zarra

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2009-11-07
  • 定價: $1,020
  • 售價: 2.0$199
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1934356328
  • ISBN-13: 9781934356326
  • 相關分類: MAC OS 蘋果電腦
  • 立即出貨(限量)

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

商品描述

Whether you are targeting Mac OS X or the iPhone, at some point your Cocoa application is probably going to need to persist data. You could struggle with SQLite, generate XML, or create your own binary format. Or, you can save time and energy by taking advantage of Apple's Core Data API instead.

Core Data makes it easy for you to work with object graphs and to persist data-but there are plenty of pitfalls and issues to watch out for. This book shows you everything from versioning to integrating with Quick Look, Sync Services, and Spotlight. You'll see how to boost performance and work in multithreaded applications. You'll work with Core Data on both the desktop and the iPhone.

By the end of Core Data, you'll have built a full-featured application, gained a complete understanding of Core Data, and learned how to integrate your application into OS X.

As an extra bonus, you'll see numerous recipes that are useful in unusual situations, or even in places where you wouldn't have thought to use the Core Data API before. It will become another indispensable tool in your kit.

商品描述(中文翻譯)

無論您是針對 Mac OS X 還是 iPhone,您的 Cocoa 應用程式在某個時候可能需要持久化數據。您可以使用 SQLite,生成 XML,或者創建自己的二進制格式來解決這個問題。或者,您可以節省時間和精力,利用蘋果的 Core Data API。

Core Data 讓您輕鬆處理對象圖並持久化數據,但也有許多需要注意的陷阱和問題。本書將向您展示從版本控制到與 Quick Look、Sync Services 和 Spotlight 整合的所有內容。您將了解如何提升性能並在多線程應用程式中工作。您將在桌面和 iPhone 上使用 Core Data。

通過閱讀《Core Data》,您將建立一個功能完整的應用程式,完全理解 Core Data,並學會如何將您的應用程式整合到 OS X 中。

作為額外的獎勵,您將看到許多在特殊情況下有用的示例,甚至是在您以前未曾考慮使用 Core Data API 的地方。它將成為您工具包中另一個不可或缺的工具。