Would you like to see this page in English? Click here.

この商品をお持ちですか? マーケットプレイスに出品する
Core Data: Apple's API for Persisting Data on Mac OS X

Kindle をお持ちでない場合、こちらから購入いただけます。 Kindle 無料アプリのダウンロードはこちら

Core Data: Apple's API for Persisting Data on Mac OS X [ペーパーバック]

Marcus S. Zarra


Core Data: Data Storage and Management for Ios, OS X, and Icloud (Pragmatic Programmers) Core Data: Data Storage and Management for Ios, OS X, and Icloud (Pragmatic Programmers)
¥ 3,715




"Core Data" walks you through developing a full featured application based on the Mac OS X Core Data APIs. You'll discover how Core Data contributes to Cocoa applications, as well as some of the pitfalls and issues surrounding the current implementation. "Core Data" takes an unusual approach to explaining Core Data by focusing on a single application throughout the book.You'll start by building an application from scratch and as you learn new principals and abilities of Core Data. We won't gloss over any important details - you'll get it all. We'll explore not only how to get everything working properly, but also how to take advantage of shortcuts thanks to the flexible and customizable nature of the API. 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 our application into OS X. Finally, at the end of the book you'll see numerous recipes that are useful in non-mainstream situations, or even in places where you wouldn't have thought to use Core Data before.


Marcus S. Zarra is the owner of Zarra Studios LLC and the creator of seSales and iWeb Buddy. In addition, he is a co-author of "Cocoa Is My Girlfriend," a wildly popular blog covering all aspects of Cocoa development. Marcus S. Zarra has been developing software since the mid-1980s and has written software in all of the major technological fields.



Amazon.co.jp にはまだカスタマーレビューはありません
Amazon.com で最も参考になったカスタマーレビュー (beta)
Amazon.com: 5つ星のうち 3.6  12 件のカスタマーレビュー
42 人中、41人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 4.0 Great idea, shaky execution 2010/1/1
投稿者 Captain Zones - (Amazon.com)
Word of warning: not one of the 5-star reviewers actually worked through examples in this book then reviewed it.

It's not a 5-star book. It's a 5-star topic, and sadly (very very sadly) it's the only book I know of actually on that topic.

I think the author's intentions are good, and there's a lot of useful info. I'm grateful to have it.

But all of that has to be balanced against the maddening b.s. of trying to actually follow his examples. You know, to actually do what you're supposed to do with a programming book.

Up to chapter 5, it's a pretty good book. If you download the code from the publisher's web site, you'll discover that he names some of his objects differently than you would if you follow his instructions strictly. This actually will create problems for you potentially when you try and troubleshoot problems in your own code, but they're minor. Annoying and needless, but minor.

Then you get to chapter 5, and it's really not so minor anymore. Grab the book (print version or PDF) and work through the examples in chapter 5, and you will have a broken program. Don't take my word for it. Check out the forums and the errata page on their website, and you'll see others reporting the same problem. There is a complicated data migration described. After walking us through a fairly trivial example, he then goes on to give us a much more complicated version. He leaves large portions of that to the reader, and just goes instead for code. The problem is that he doesn't even give us some of the most important code. He shows us a very important ObjC method to add to the AppDelegate... but never even mentions the major alterations you need to make in another method to make that new one get called.

Perhaps it's unreasonable to expect programming book editors to actually go through the examples to see if it works. Perhaps it's unreasonable to expect all books to be as well-done as Hillegass' book.

What's sad is that I've been waiting for this kind of book ever since Core Data came out. And there are some very nice ideas here. I'm gonna slog through the rest and hope it gets better, because the topic is really important. If you plan to buy this book and really work through the examples, I think I'd still recommend it (since there's nothing else). But word to the wise: it's gonna require a LOT more work than a properly written and edited programming book would have.
22 人中、18人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 1.0 Huge Oversight in this book. 2010/2/16
投稿者 A. Donoho - (Amazon.com)
I wanted to learn how to use Apple's Core Data technology in my iPhone applications. I was deeply disappointed by this book.

"Core Data" leaves out a discussion of NSPredicate, the query language of Core Data. This is basically the same as leaving a discussion of the WHERE clause out of a SQL book. For the record, "Core Data" actually does cover NSPredicate -- for 3/4 of a page. And then it references Apple's documentation. Before I bought this book, I had already read Apple's docs and found them wanting. Apple's lame documentation was a motivating factor in my choice to purchase "Core Data".

If you need to make queries on the Core Data object graph, then do not buy this book. It doesn't help you learn Apple's different query language.
8 人中、7人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 5.0 Great introduction to Core Data 2009/11/7
投稿者 R. Keniger - (Amazon.com)
Core Data is one of the denser, more complex APIs in the Cocoa framework and Marcus' book does a great job of introducing you to the concepts and terminology. The sample application that is built throughout the book is a sensible choice and easy to understand. Some sections such as the import/export example I found incredibly useful after struggling on my own through the same issues before I bought the book.

The only thing I found missing was much discussion of NSPersistentDocument and document-based apps, there is only an in-passing reference to this type of application but since Apple already has a great tutorial on this in their documentation it's not a major issue.

If you want to get up to speed quickly with Core Data I'd highly recommend this book. It is a much easier read than the official Apple documentation and covers all the bases. If nothing else, the Apple docs will be much easier to wrap your head around once you've worked through this book first.
2 人中、2人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 3.0 Not for the faint of heart 2010/6/8
投稿者 Scott A. Henderson - (Amazon.com)
This book is definitely for advanced programmers who wish to incorporate core data into their work. I am still learning Cocoa and Mac programming after a long hiatus. There are some mistakes in the book and without some background, novices (like myself) would be clueless as to how to fix them. Thankfully, there is a web site posting the errors and omissions to get one back on track. About half of the chapters are related to core data with the remaining discussing how to use core data with other Apple technologies: Spotlight, iPhone, multithreading, etc. If you're looking for great insights to core data that will make it easier to understand, you should probably skip this book.
1 人中、1人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 4.0 Good on theory, not all that helpful for iPhone developers 2009/11/26
投稿者 ddd - (Amazon.com)
There are some very good explanations in this book and, for desktop OS X use, I think it's probably a very useful book (4-5 stars). Unfortunately the chapter on core data and iPhone is quite messy. The chapter mixes upgrading an existing iPhone app to use core data and starting from scratch with the nav template available from SDK 3.0. It doesn't clearly explain what needs to be copied over (model, sqlite db etc), though you can deduce this. The existing template code isn't separated from the code the author has added, and some of the author's code appears to replace the template code.

Given that many people will be coming to core data on iPhone with new projects it would have been helpful to see three, clearly distinct, sub-sections:

1) starting a core data project from scratch on iPhone (post-SDK 3)
2) importing a core data model and persistent store from the desktop to use in an iPhone app (post-SDK 3)
3) upgrading an existing app (pre-SDK 3) to use core data

For iPhone developers new to core data I'd recommend building an app from scratch using the Apress, or PragProg, or Sams intro books and then reading this book to understand what core data is all about in the larger world view. No book that I'm aware really covers core data on iPhone very well.
これらのレビューは参考になりましたか?   ご意見はクチコミでお聞かせください。


内容・タイトル 返答 最新の投稿