• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Checking a path for isDirectory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Checking a path for isDirectory
      • From: j o a r <email@hidden>
References: 
 >Re: Fun with AuthorizationExecuteWithPrivileges... (From: j o a r <email@hidden>)

  • Prev by Date: Re: Fun with AuthorizationExecuteWithPrivileges...
  • Next by Date: Re: Checking a path for isDirectory
  • Previous by thread: Re: Fun with AuthorizationExecuteWithPrivileges...
  • Next by thread: Re: Checking a path for isDirectory
  • Index(es):
    • Date
    • Thread