• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Blocking while a save panel sheet is showing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Blocking while a save panel sheet is showing
      • From: Kenneth Baxter <email@hidden>
References: 
 >Re: Blocking while a save panel sheet is showing (From: Kenneth Baxter <email@hidden>)

  • Prev by Date: Re: How to get volume information
  • Next by Date: Re: How to get volume information
  • Previous by thread: Re: Blocking while a save panel sheet is showing
  • Next by thread: Re: Blocking while a save panel sheet is showing
  • Index(es):
    • Date
    • Thread