Re: NSFileWrapper Directories
Re: NSFileWrapper Directories
- Subject: Re: NSFileWrapper Directories
- From: "Louis C. Sacha" <email@hidden>
- Date: Sun, 12 Dec 2004 02:04:50 -0800
Hello...
Have you added the LSTypeIsPackage flag to the CFBundleDocumentTypes
entry in your application's Info.plist file?
<key>LSTypeIsPackage</key> <true/>
<http://developer.apple.com/Documentation/Cocoa/Conceptual/Documents/Concepts/DocTypePList.html>
and the canonical list of Info.plist keys:
<http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Concepts/PListKeys.html>
Hope that helps,
Louis
I'm using the fileWrapperRepresentationOfType message from
NSDocument to save an NSFileWrapper as a directory that contains
several files. In the same way the Finder treats an App file, I'd
like my file to be treated as a single file, rather than a folder.
However, everything I've tried has resulted in just creating a
folder, and not a "package". I don't see anything suspicious in my
code, but I've pasted it below if anyone wants to take a look.
...
Thanks in advance!
- Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden