• 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: didEndShouldCloseSheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: didEndShouldCloseSheet


  • Subject: Re: didEndShouldCloseSheet
  • From: Nicholas Riley <email@hidden>
  • Date: Sun, 19 May 2002 04:37:02 -0500
  • Mail-followup-to: Tomoo Kunikyo <email@hidden>, email@hidden

On Sun, May 19, 2002 at 06:03:58PM +0900, Tomoo Kunikyo wrote:
> Thank you Nicholas Riley for your kind answer.
>
> In the Local Machine Zone, I have found "NSBeginAlertSheet" method . But
> the contents is "Discussion forthcoming" and I could not understand.
> The document may be old.

It probably is; try upgrading to the April 2002 development tools if
you want (although PB 2.0 is not localized into Japanese yet, if this
is a problem for you).

> Where can I find "didEndShouldCloseSheet" method ?

Again, the method is 'didEndShouldCloseSheet:returnCode:contextInfo'.
It is a method, specified using its selector with @selector(...) in
the call to NSBeginAlertSheet. The name of the method does not
matter, only the signature (types and order of parameters).

> In the Internet Zone, I also have found "NSBeginAlertSheet". In the
> Discussion, "didEndSelector" or "didDismissSelector" defined as
> "sheetDidEnd" or "sheetDidDismiss" is found but "didEndShouldCloseSheet"
> is not found.

You can name it whatever you want. It happens that the example in the
documentation uses sheetDidEnd:returnCode:contextInfo:

sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo;

But you are welcome to call your method:

foo:(NSWindow *)foo bar:(int)bar baz:(void *)baz;

as long as the correct number of parameters, and their signatures
(NSWindow *, int, void *) exist as above.

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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: didEndShouldCloseSheet (From: Nicholas Riley <email@hidden>)
 >Re: didEndShouldCloseSheet (From: Tomoo Kunikyo <email@hidden>)

  • Prev by Date: Re: Cocoa Logo
  • Next by Date: AltiVec optimization in Cocoa?
  • Previous by thread: Re: didEndShouldCloseSheet
  • Next by thread: Kakao gruppe (Danish Cocoa group)
  • Index(es):
    • Date
    • Thread