Re: Creator Code for Packages
Re: Creator Code for Packages
- Subject: Re: Creator Code for Packages
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 1 Nov 2006 00:21:46 +0100
On 31 Oct 2006, at 13:48, Sherm Pendley wrote:
On Oct 31, 2006, at 7:15 AM, Gerriet M. Denkmann wrote:
Although the documentation for NSFileManager says that "keys, such as
NSFileHFSCreatorCode and NSFileHFSTypeCode, do not apply to
directories" (which makes sense, because HFS+ has no room to store
this) there is a way to set TypeCode and CreatorCode for directories.
Just insert into your directory another directory called "Contents"
which contains a file called PkgInfo which contains a string of 8
characters with TypeCode and CreatorCode (e.g. "????MyAp")
This was pointed out to me off list by some friendly and knowledgable
person.
Gerriet.
_______________________________________________
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