• 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: -[NSWindow endSheet?], was parentWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSWindow endSheet?], was parentWindow


  • Subject: Re: -[NSWindow endSheet?], was parentWindow
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 24 Nov 2015 21:55:41 -0800

> On 2015 Nov 24, at 14:54, Graham Cox <email@hidden> wrote:
>
> You don’t send the parent window endSheet to run the completion handler - you close the sheet itself by sending -endSheet to the SHEET, not its parent.

Graham, I cannot find such a method, endSheet with no colon.

> If you need to communicate something back to the parent window or code that ran the sheet, just do it directly from the completion handler.  As a block, it can capture variables from its initiating scope.

Yes, I understand that.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >-[NSWindow parentWindow] for sheet never works? (From: Jerry Krinock <email@hidden>)
 >Re: -[NSWindow parentWindow] for sheet never works? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: -[NSWindow parentWindow] for sheet never works?
  • Next by Date: Re: -[NSWindow parentWindow] for sheet never works?
  • Previous by thread: Re: -[NSWindow parentWindow] for sheet never works?
  • Next by thread: Re: -[NSWindow parentWindow] for sheet never works?
  • Index(es):
    • Date
    • Thread