• 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
Re:validity of a path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:validity of a path


  • Subject: Re:validity of a path
  • From: Shripada Hebbar <email@hidden>
  • Date: Mon, 7 Jan 2008 11:19:26 +0530



The path of a file is initialized in a NSString.
I want to know if this path is valid.
I can try to open the file and test the return value to test the
validity of this path but is there another method to know if this
path is valid ?

Use ' fileExistsAtPath' API of NSFileManager. I presume that by 'valid' you mean
that the file exists at the said path.



Regards Shripada

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: distributed objects and NSURLConnection
  • Next by Date: Error executing instruction "[NSBezierPath bezierPath]"
  • Previous by thread: Re: Validity of a path
  • Next by thread: Merging Core Data models from plugins
  • Index(es):
    • Date
    • Thread