CORE DATA MARCUS ZARRA PDF

About the content This talk was delivered live in October at Pragma Conference. The video was transcribed by Realm and is published here with the permission of the conference organizers. The long history of Core Data has lent itself to different interpretations over the years about how threading should be used, so how should it be done now? Introduction The goal of this post is to clear the air about how we should be using Core Data as it stands today, in

Author:Nesar Mezimi
Country:Mayotte
Language:English (Spanish)
Genre:Automotive
Published (Last):18 March 2015
Pages:191
PDF File Size:18.1 Mb
ePub File Size:8.96 Mb
ISBN:877-1-87130-140-7
Downloads:5344
Price:Free* [*Free Regsitration Required]
Uploader:Tohn



Zarra The Pragmatic Bookshelf, January has recently received a major update. Whilst it is still a great book it was starting to get a little dated. This was not such a huge problem as many of the key concepts are valid for both platforms.

The second edition has been substantially updated and the change in emphasis is evident from the change in subtitles of the two editions. The growing army of iOS developers has had an impact: The largest number of Objective-C developers develop only for iOS, and therefore we will keep our focus there.

It is far better to skip it and move on to iOS 6. In Depth The first half of the book provides an in depth coverage of the key concepts of Core Data. The example code is for an iOS application and a whole chapter is dedicated to covering NSFetchedResultsController reflecting the new focus of the book.

The next three chapters on Core Data versioning and migration, performance tuning and threading are all essential reading.

Even if you consider yourself a Core Data expert there is a lot of good practical advice here. The treatment of migrations covers both lightweight and heavy migrations with sufficient detail to understand why heavy migrations can be a headache. The discussion on performance tuning has good advice about handling binary data and also on when to denormalize data. Finally the chapter on threading covers how to use Core Data in a way that is thread safe. This expanded and updated edition now also provides a detailed discussion of using Core Data with iCloud.

Marcus does mention the problems Apple has had getting this to work reliably: Unfortunately, as has been demonstrated numerous times in the past, syncing is hard, very hard. Apple did not get it working acceptably in iOS 5. It was not until iOS 6. The known issue when the user turns off iCloud is covered and a number of experienced developers are still reporting issues. Hopefully when Apple do finally fix it Marcus will update the book with the details.

If you are primarily an iOS developer this can still be interesting reading. Firstly because you should realise that you already know much of what is required. Secondly you can get a deeper understanding of some key technologies if you will excuse the pun such as KVC and KVO when used on the desktop platform. The last three chapters of the book are somewhat bonus material. Interesting reading but not essential to understanding Core Data. Likes and Dislikes There is not much to dislike.

This is one of those books that works well both for introductory and advanced audiences. If you are new to Core Data the basics are covered to get you up to speed. On the other hand if you have been using Core Data for a while you can jump straight to the chapters on migrations, performance and threading and learn something. I have a preference for technical books that are written by experienced practitioners with a strong point of view.

The parts of this book that I like best are when Marcus is giving us his opinion on how to get the best from Core Data and what you should avoid. Overall a great book that just got better. Final Comments You can buy the dead-tree version of the book from the usual places but I prefer to get the ebook version direct from the pragprog. See privacy policy.

SGLV 8286A PDF

Core Data by Marcus Zarra

Release: P2. Geared toward intermediate to advanced developers, this book gets you comfortable with the basics of Core Data. 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. Why do developers need to know it? By learning and using Core Data, you can save yourself a significant amount of development time on every application you build.

ERRORES REFRACTIVOS PDF

Core Data in Objective-C

Zarra The Pragmatic Bookshelf, January has recently received a major update. Whilst it is still a great book it was starting to get a little dated. This was not such a huge problem as many of the key concepts are valid for both platforms. The second edition has been substantially updated and the change in emphasis is evident from the change in subtitles of the two editions. The growing army of iOS developers has had an impact: The largest number of Objective-C developers develop only for iOS, and therefore we will keep our focus there. It is far better to skip it and move on to iOS 6. In Depth The first half of the book provides an in depth coverage of the key concepts of Core Data.

Related Articles