• 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
Asynchronous compatibility of NSDocument read/write methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Asynchronous compatibility of NSDocument read/write methods


  • Subject: Asynchronous compatibility of NSDocument read/write methods
  • From: Daryle Walker <email@hidden>
  • Date: Sat, 16 Apr 2016 22:23:10 -0400

The NSDocument class has some core methods for you to override to read and write data from/to disk.  Are those called from the main thread?  If so, can you defer the actual work to an NSOperation or something?  If you do so, what is your GUI supposed to do/show?  Or will the window not be shown yet?

—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

_______________________________________________

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: Asynchronous compatibility of NSDocument read/write methods
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Can a table insert be implemented with an exclusive "addition row"?
  • Next by Date: Does NSString's "- initWithContentsOfURL:usedEncoding:error:" use the tightest encoding possible?
  • Previous by thread: Re: Can a table insert be implemented with an exclusive "addition row"?
  • Next by thread: Re: Asynchronous compatibility of NSDocument read/write methods
  • Index(es):
    • Date
    • Thread