> On 25 Nov 2015, at 4:58 PM, Quincey Morris 
> <quinceymor...@rivergatesoftware.com> wrote:
> 
> n the end, I’ve come to the (possibly incorrect) conclusion, and that Graham 
> misspoke.

Yup, I’m a complete idiot. I looked at the docs, saw [NSWindow 
-endSheet:sheetWindow] and totally misinterpreted it. I might be losing my 
mind, this sort of thing seems to be happening a lot lately.

I also felt sure that I’d used endSheet to trigger a completion block in the 
manner I suggested, but now I come to look for a concrete example that’s not 
the case:

- (IBAction)    ok:(id)sender
{
        [self.window.sheetParent endSheet:self.window returnCode:NSOKButton];
}




So, as you were, carry on.

—G.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to