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
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 mails | Author | Date |
|---|---|---|
| John James | Jan 27, 14:40 | |
| Andy Lee | Jan 27, 15:29 | |
| John James | Jan 27, 15:45 |






Cocoa mail archive

