Chapter 18. Spotlight (or, How to Build a Plug-in)

<feature><title>In This Chapter</title>
  • Creating an OS Plug-In Project

  • Setting Uniform Type Identifiers

  • Building a Plug-In into an Application

</feature>

Before our excursion into Core Data, there was not much worth sharing about Linear’s data files. You may remember that when we laid out the data file type, I skipped the uniform type indicator (UTI) declaration, because it wasn’t worth complicating Linear as example code.

The expansion of Linear’s data files to encompass data sources has changed this. Think only of the query “every file sourced from the Economic Report of the President,” and you can see that Linear data files are now a natural for indexing in the Spotlight metadata system.

How Data ...

Get Xcode 3 Unleashed 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.