On 27 Aug 08, at 17:43, J. Todd Slack wrote:
NSString *applicationSupportDirectory = @"~/Library/Application
Support/Ring-Maker/tmp/"; /* temp scratch space */
If you need "temp scratch space", use the NSTemporaryDirectory()
function - the user's home directory may be on a device with slow
On Aug 27, 2008, at 21:19 , J. Todd Slack wrote:
Hi Jason
-(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
Hi Jason
-(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?
No, it won't. You co
On Aug 27, 2008, at 21:08 , J. Todd Slack wrote:
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. Howeve
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
met
On Aug 27, 2008, at 20:43 , J. Todd Slack wrote:
Hi All,
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,
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
stringByE