Checking a path for isDirectory
Checking a path for isDirectory
- Subject: Checking a path for isDirectory
- From: "Chris Mar" <email@hidden>
- Date: Tue, 14 Aug 2001 08:22:55 -0400
I'm having problems checking a path to see if its a directory, I know path
is correct because I'm using it to build bundles for files, but I want to
skip over directories. This code just doesn't seem to work, I was wondering
if
anyone had problems like this in the past. I'm using 10.0.4 and the
developer tools from WWDC.
BOOL isDir;
[NSFileManager defaultManager]fileExistsAtPath:path isDirectory:&isDir];
if (isDir) continue;
Thanks for any help.
Chris