Skip navigation.
 
mlRe: Locate path to file's directory
FROM : Andy Lee
DATE : Sun Jan 27 15:29:54 2008

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

Related mailsAuthorDate
mlLocate path to file's directory John James Jan 27, 14:40
mlRe: Locate path to file's directory Andy Lee Jan 27, 15:29
mlRe: Locate path to file's directory John James Jan 27, 15:45