Wrapping Up

Ideally we’ll never need these APIs. They were added to Core Data to handle those truly edge cases where a requirement came in that was unexpected and the data structure wasn’t implemented to handle it.

An API that exists and is rarely used is far better than an API that doesn’t exist and is sorely missed. Fortunately for us, these now exist and are not onerous to use.

Get Core Data in Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.