Re: Finder duplicating my doc package as folder
Re: Finder duplicating my doc package as folder
- Subject: Re: Finder duplicating my doc package as folder
- From: "Louis C. Sacha" <email@hidden>
- Date: Wed, 21 Jul 2004 00:54:19 -0700
Hello...
Do you have the "LSTypeIsPackage" key included (and set to TRUE) in
the document type dictionary in the CFBundleDocumentTypes in your
application's Info.plist file?
http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Concepts/PListKeys.html#//apple_ref/doc/uid/20001431/TPXREF107
Hope that helps,
Louis
Hi,
I've got an application that uses document packages to store data, and
that's all working fine except if I try to duplicate the files in the Finder
(selecting the icon and cmd-D'ing). In that case, the file "Myfile.ext"
becomes "Myfile.ext copy" and displays as a folder.
Everything else--saving, loading, copying to other directories, etc. is
working fine. I have a PkgInfo file inside the Contents folder for my
document, but is there something else I need to do to tell the Finder to
duplicate the document as a package and not a folder?
I've looked, but I'm not seeing anything archived about this problem, which
makes me think I missed something simple...
Thanks,
- Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.