NSFileManager and directories
NSFileManager and directories
- Subject: NSFileManager and directories
- From: Francisco Tolmasky <email@hidden>
- Date: Thu, 04 Sep 2003 00:25:46 -0700
Is saying something like
NSArray *contents;
if(contents= [[NSFileManager defaultManager] directoryContentsAtPath:
aPath])
//do directory stuff
else
//do file stuff
a safe way to tell if the object at "aPath" is a directory or not?
Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.