Hi Jason,

It simply does not create the directory. This is code that I had in another project that worked.

What am I missing?

Does the parent directory exist already (~/Application Support/Ring- Maker)? If not, this call will fail. However, since you're using 10.5 you should use this method:

-(BOOL)createDirectoryAtPath:(NSString*)path withIntermediateDirectories:(BOOL)createIntermediates attributes: (NSDictionary*)attributes error:(NSError**)error;

I saw this, but if I have to deploy on 10.4, will this call fail on 10.4 since it is new in 10.5?

But you were right, the Ring-Maker Directory did not exist. Not I fixed it.

Thanks.

-Jason

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to