Re: Blocking while a save panel sheet is showing
Re: Blocking while a save panel sheet is showing
- Subject: Re: Blocking while a save panel sheet is showing
- From: Ken Thomases <email@hidden>
- Date: Mon, 14 Feb 2011 10:34:14 -0600
On Feb 14, 2011, at 7:09 AM, Kenneth Baxter wrote:
> I'm afraid I can't see a way to refactor that so that saveData doesn't return until the save operation is complete, and I can't see how the framework could work properly without waiting for the completion of the save operation.
>
> Maybe I'm missing something obvious about the way this is supposed to work (I'm still rather new to all this), or some other option.
Although Graham is right that document-modal sheets is the preferred user interface for saving, you can run the save panel as an application-modal dialog. See -[NSSavePanel runModal].
Regards,
Ken
_______________________________________________
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