• 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: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends)


  • Subject: Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends)
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 29 Sep 2011 17:26:49 -0700

Of course I have another question.

On Thu, Sep 29, 2011 at 12:33 PM, Kevin Perry <email@hidden> wrote:
> NSDocument's NSFilePresenter methods use performAsynchronousFileAccessUsingBlock: internally, so if something else current has file access, the NSFileCoordinator requests are indeed blocked (or "enqueued").

What about NSFilePresenter methods that require presenting a sheet? Do
they instead wrap their calls to -performAsynchronousFileAccess: in a
call to -performActivityWithSynchronousWaiting:NO?

--Kyle Sluder
_______________________________________________

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

References: 
 >NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends) (From: Kyle Sluder <email@hidden>)
 >Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends) (From: Kyle Sluder <email@hidden>)
 >Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends) (From: Kevin Perry <email@hidden>)
 >Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends) (From: Kyle Sluder <email@hidden>)
 >Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends) (From: Kevin Perry <email@hidden>)

  • Prev by Date: Re: creating multiple NSTimers
  • Next by Date: Re: creating multiple NSTimers
  • Previous by thread: Re: NSDocument Serialization (-performSynchronousFileAccessUsingBlock: and friends)
  • Next by thread: Initial Object in Array Controller
  • Index(es):
    • Date
    • Thread