The first edition of Core Data by Marcus Zarra was the book I turned to when I wanted to learn Core Data. Whilst it is still a great book it was. Threading in today’s Core Data is radically different from its original In this talk from #Pragma Conference , Marcus Zarra presents the. Core Data in Swift. by Marcus S. Zarra. Publisher: Pragmatic Bookshelf. Release Date: June ISBN: View table of contents. Start reading.
|Genre:||Health and Food|
|Published (Last):||23 August 2015|
|PDF File Size:||10.78 Mb|
|ePub File Size:||12.17 Mb|
|Price:||Free* [*Free Regsitration Required]|
There are many books on general iOS development but they often only provide brief coverage of Core Data. Zarra The Pragmatic Bookshelf, January has recently received a major update. Whilst it is still a great book it was starting to get a zatra 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 eata for iOS, and therefore we will keep our focus there. It is far better to skip it and move on to iOS 6. 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 corre handling binary data and also on when to croe data.
My Core Data Stack
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.
Core Data by Marcus S. Zarra
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.
There is not much to dislike. This is one of those books that works well both for introductory and advanced audiences.
Core Data in Swift: Data Storage and Management for iOS and OS X
If you are new to Core Data dwta 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.
Cocoa Is My Girlfriend | Taglines are for Windows programmers
You can buy the dead-tree version of the book from the usual places but I prefer to get zarfa ebook version direct from the pragprog. Now check your email to confirm your subscription and download your free guide to iOS Size Classes.
Check your inbox or spam folder for an email to confirm your details and download your free guide to iOS Size Classes. The growing army of iOS developers has croe an impact: In Depth The first half of the book provides an in depth coverage of the key concepts of Core Data. Marcus does mention the problems Apple has had getting this to work reliably: Likes and Dislikes There is not much to dislike. Final Comments You can buy the dead-tree zatra of the book from the usual places but I prefer to get the ebook version direct from the pragprog.
There was an error submitting your subscription. No time to watch WWDC videos?