Re: Filename of the file opened via the open menu
Re: Filename of the file opened via the open menu
- Subject: Re: Filename of the file opened via the open menu
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 25 Aug 2003 12:04:07 -0700
On Monday, August 25, 2003, at 02:19 AM, Damien Pacaud wrote:
I have a document based application that uses the open Item in its
menu...when I select a file, is goes through a
- (BOOL)loadDataRepresentation:(NSData *)data ofType:(NSString *)aType
method...and I'd like to get the filename or the path for the file I
just openned....
Is there a simple way of doing this ?
NSDocument's -fileName method ought to work...
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://seiryu.home.comcast.net/
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone." - Bjarne Stroustrup
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.