• 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: Sat, 18 May 2002 04:10:43 -0500
  • Mail-followup-to: Tomoo Kunikyo <email@hidden>, email@hidden

On Sat, May 18, 2002 at 05:34:26PM +0900, Tomoo Kunikyo wrote:
> Where can I find this "didEndShouldCloseSheet" method ?

This method is a callback, the 'didEndSelector' (described on page
143). The equivalent of a function pointer in Objective-C is a
target-action pair, or more concretely, an object and selector.

For more information on NSBeginAlertSheet, see:

<file:///System/Library/Frameworks/AppKit.framework/Versions/C/Resources/English.lproj/Documentation/Reference/ObjC_classic/Functions/AppKitFunctions.html>

and click "Panels" in the table of contents.

When the sheet is dismissed, Cocoa will send the
'didEndShouldCloseSheet:returnCode:contextInfo' method to the
modalDelegate; in the example on p. 144, it's 'self'.

--
=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.

  • Follow-Ups:
    • Re: didEndShouldCloseSheet
      • From: Tomoo Kunikyo <email@hidden>
References: 
 >didEndShouldCloseSheet (From: Tomoo Kunikyo <email@hidden>)

  • Prev by Date: Kakao gruppe (Danish Cocoa group)
  • Next by Date: Adding and deleting menus
  • Previous by thread: didEndShouldCloseSheet
  • Next by thread: Re: didEndShouldCloseSheet
  • Index(es):
    • Date
    • Thread