On Aug 5, 2008, at 10:43 PM, Chris Idou wrote:
I have a document based application that needs to be able to open folders.
Generic folders (folders as folders)? Or document packages (special folders treated as a single document)?
Either way, you need to declare your application's support for the proper document type. See: http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Concepts/DocTypePList.html
For the former, you would use the OSType 'fold' and/or the UTI "public.folder" (kUTTypeFolder).
For the latter, you would declare your own custom extension for the package and indicate that it is a package type (LSTypeIsPackage).
Cheers, Ken _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
