Re: Synchronous modal sheet
Re: Synchronous modal sheet
- Subject: Re: Synchronous modal sheet
- From: Graham Cox <email@hidden>
- Date: Fri, 15 Aug 2008 20:52:11 +1000
On 15 Aug 2008, at 3:16 pm, Jacob Bandes-Storch wrote:
I want to display a modal sheet, but my code isn't currently at the
point where I can split it up. Is there a way to run a modal sheet
synchronously, so the rest of the code after it starts isn't called
until it ends? Or do I have no choice but to restructure this?
If you have to have a sheet, you have no choice.
But it's not that hard. Take the code that runs after the call, factor
it into another method, then call that method from the -
sheetDidEnd:returnCode:contextInfo: method.
hth,
Graham
_______________________________________________
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