• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how do I do something after user has hit "OK" in standard save panel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: how do I do something after user has hit "OK" in standard save panel? (From: m <email@hidden>)

  • Prev by Date: Problems making an app Apple-scriptable
  • Next by Date: Re: Determining if a NSTextField is selected....
  • Previous by thread: Re: how do I do something after user has hit "OK" in standard save panel?
  • Next by thread: Hand cursor
  • Index(es):
    • Date
    • Thread