Monday, December 14, 2015

Core Data Book

Florian Kugler and Daniel Eggert:

With this book we try to shine a new light on a framework that has been around for a while:

  • We embrace Swift 2 with all its latest language features to write more elegant and more safe Core Data code.
  • We focus on demonstrating best practices and advanced techniques that you can immediately apply to a wide range of projects.
  • We explain how Core Data works behind the scenes. This will help you to make better choices when e.g. designing your data model, deciding on a concurrency model, or optimizing performance.

I liked the chapters that I read of the pre-release version and look forward to finishing it now.

Update (2015-12-15): Ole Begemann:

In the section on concurrency and syncing, they discuss tons of stuff you won’t find covered elsewhere in this much detail. […] For instance, they wrote an abstraction for the sync engine that allows them to replace the calls to CloudKit with another implementation that just logs the commands that should be sent to the server. What started as a workaround to allow readers to run the sample app without provisioning problems turned into something that can be used in testing.

1 Comment RSS · Twitter

Erk, core data is junk. It doesn't do that much, but what it does do is quirky, buggy, and poorly documented.

Leave a Comment