Hi All,

10.5.4, XCode 3.1

I have the following:

NSFileManager *manager = [NSFileManager defaultManager];

NSString *applicationSupportDirectory = @"~/Library/Application Support/Ring-Maker/tmp/"; /* temp scratch space */

applicationSupportDirectory = [applicationSupportDirectory stringByExpandingTildeInPath];
        
if ([manager fileExistsAtPath: applicationSupportDirectory] == NO) {
[manager createDirectoryAtPath: applicationSupportDirectory attributes: nil];
}

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

What am I missing?

-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