Re: how do I do something after user has hit "OK" in standard save panel?
Re: how do I do something after user has hit "OK" in standard save panel?
- Subject: Re: how do I do something after user has hit "OK" in standard save panel?
- From: Donald Hall <email@hidden>
- Date: Thu, 30 Jan 2003 23:32:07 -0700
Murat,
Thank you very much for your reply. I could not figure out how to use
this method. Have you tried it? Where is the delegate assigned? Do I
call this method on self and assign the delegate in the call?
There are several methods in NSDocument with similar signatures:
- (void)saveDocumentWithDelegate:(id)delegate
didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo
If you a snippet of code to show in general to use any of them, I'd
be very appreciative.
Thanks,
Don
>
On Thursday, January 30, 2003, at 07:35 AM, Donald Hall wrote:
>
>
>I've been going over the documentation and scratching my head on
>
>this one all evening:
>
>
>
>When the user saves a new document from one of the standard File
>
>menu save commands, I want to immediately get the path name of the
>
>new document after the user hits "OK".
>
>
Have a look at NSDocument's
>
"saveDocumentWithDelegate:didSaveSelector:contextInfo:" method.
>
>
_murat
>
>
---
>
[This E-mail scanned for viruses by Declude Virus]
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://appsmore.theboss.net
_______________________________________________
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.