• 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: At what point during loading can NSPersistentDocument fetch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: At what point during loading can NSPersistentDocument fetch?


  • Subject: Re: At what point during loading can NSPersistentDocument fetch?
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 17 Feb 2009 07:29:21 -0800


On 2009 Feb 16, at 19:42, Chris Idou wrote:

readFromURL is the appropriate place to start populating the document.

Thank you, Chris. After invoking super in readFromURL:ofType:error: is indeed late enough for fetches to work, but early enough to still affect reading of the other contents.


I was hoping for something that would also run during the creation of new documents, but since readFromURL:ofType:error: does not, I'll just have to use two hooks.

_______________________________________________

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: 
 >At what point during loading can NSPersistentDocument fetch? (From: Jerry Krinock <email@hidden>)
 >Re: At what point during loading can NSPersistentDocument fetch? (From: Chris Idou <email@hidden>)

  • Prev by Date: Re: Multiple instances of NSApp/NSApplicationLoad()
  • Next by Date: Attempting to get distinct values from an entity's attribute
  • Previous by thread: Re: At what point during loading can NSPersistentDocument fetch?
  • Next by thread: Multiple instances of NSApp/NSApplicationLoad()
  • Index(es):
    • Date
    • Thread