Hi there,
Not too sure what you mean by "path name", but the API you'll want to
look at could be here <http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#//apple_ref/doc/uid/20000154-SW38
>.
Kiel :-)
"Violence is the last refuge of the incompetent."
Isaac Asimov, Foundation
On 17/12/2008, at 10:52 PM, wamozart wrote:
Hi, I'm writing an NSDocument class code. I would like to separate
the path
name from a file name.
NSString *filename = [self fileName];
returns the full path and file name. How do I get the path name only?
Thanks.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/kiel.gillard%40gmail.com
This email sent to kiel.gill...@gmail.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com