createDirectoryAtPath problems
createDirectoryAtPath problems
- Subject: createDirectoryAtPath problems
- From: Mathew Peterson <email@hidden>
- Date: Wed, 5 Feb 2003 14:09:59 +1100
Hi,
I am trying to create a directory in ~/Library/Application Support
called DevKit.
Here is what I have done:
bool i;
NSString *directoryLocation = [[NSString alloc]
initWithFormat:@"~/Library/Application Support/DevKit/"];
[directoryLocation stringByExpandingTildeInPath];
NSFileManager *man = [NSFileManager defaultManager];
i = [man createDirectoryAtPath:directoryLocation attributes:nil];
NSLog(@"%@", i);
It keeps returning (null). What am i doing wrong?
Mat
_______________________________________________
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.