View Single Post
Oh, I forgot to also mention you might also want to look at OFSDocumentStoreFilter for filtering what shows up in the document picker. The delegate methods on OFSDocumentStore are intended to filter the contents of the various scopes down to the file types the application understands. OFSDocumentStoreFilter is then intended to apply a visibility filter of some sort.

So, for example, in OmniGraffle for iPad, all the stencils and documents are included in the document store, but as the user switches between viewing stencils and documents, the OFSDocumentStoreFilter is updated.

OUIDocumentPicker has a OFSDocumentStoreFilter ivar that you can tweak to do the finer grained filtering.
__________________
CTO, The Omni Group