Re: Presenting VCs as Sheets — Completion Handler?

2015-08-25 Thread Mike Abdullah
> On 25 Aug 2015, at 03:56, Seth Willits wrote: > > Naturally we're all accustomed to the pattern: > > [sheet beginSheetModalForWindow:window completionHandler:^(NSInteger > response){ > ... > }]; > > > > But with the new "presentation" API, there's no built-in mechanism for > handli

Presenting VCs as Sheets — Completion Handler?

2015-08-24 Thread Seth Willits
Naturally we're all accustomed to the pattern: [sheet beginSheetModalForWindow:window completionHandler:^(NSInteger response){ ... }]; But with the new "presentation" API, there's no built-in mechanism for handling the sheet being closed. To have a similar pattern as before would requi