Re: What am I doing wrong with creating a package?
Re: What am I doing wrong with creating a package?
- Subject: Re: What am I doing wrong with creating a package?
- From: "Joe Goh" <email@hidden>
- Date: Fri, 3 Nov 2006 16:57:30 +0800
On 11/3/06, Joe Goh <email@hidden> wrote:
I then try to create a directory using this code:
[[NSFileManager defaultManager] createDirectoryAtPath:directoryPath
attributes:nil]; // directoryPath being an NSString to the path where
the directory will be created
All that's being shown in the Finder is a normal directory.
Found the solution to this problem! Packages cannot be created using
createDirectoryAtPath: and must be created using the
initDirectoryWithFileWrappers: method in NSFileWrapper apparently.
Joe
_______________________________________________
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