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