Re: -[NSWindow endSheet?], was parentWindow
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