Re: Locate path to file's directory
Re: Locate path to file's directory
- Subject: Re: Locate path to file's directory
- From: Andy Lee <email@hidden>
- Date: Sun, 27 Jan 2008 09:29:54 -0500
On Jan 27, 2008, at 8:40 AM, John James wrote:
I can get the path of the document being read (with NSDocument
fileURL and path ) and delete its name from the path, but I thought
there must be a more direct API. I can't find it.
Are you looking for NSString's stringByDeletingLastPathComponent method?
--Andy
_______________________________________________
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