O'Reilly logo

Core Data in Swift by Marcus S. Zarra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Wrapping Up

With UTIs, it’s possible to integrate even further with the operating system, Spotlight, and Quick Look. It’s possible to publish a full description of the UTI—effectively injecting it into the tree and thus having the data type appear in Spotlight rules and more. However, this is beyond the scope of this book.

Here are some exercises you can try on your own.

Decreasing the Size of the Metadata Files

Depending on the application, it’s possible to reduce the metadata files dramatically. Since the importer (and the generator) can stand up the entire Core Data stack, it’s possible to just have the NSManagedObjectID (or even a unique identifier within the Recipe object) stored in the metadata file and have the importers and generators ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required