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 protected])

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

This email sent to [email protected]

Reply via email to