• 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: Untitled NSPersistentDocument has no persistent store
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Untitled NSPersistentDocument has no persistent store


  • Subject: Re: Untitled NSPersistentDocument has no persistent store
  • From: Ian Jackson <email@hidden>
  • Date: Wed, 2 Apr 2008 23:01:35 +1300

Ah OK, I see. But I can't help.

However the business of saving before you start happens with Garageband and iMovie. So on the plus side, it's not unheard of. On the downside, I agree it's a bit odd.

Ian.


On 2/04/2008, at 10:26 PM, Quincey Morris wrote:


On Apr 2, 2008, at 01:52, Ian Jackson wrote:

Have you done the tutorial?

http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/NSPersistentDocumentTutorial.pdf

You can add in the data as you like, and save when you've finished.

Yes, but the amount of data involved in the tutorial is tiny. There's no problem leaving it in memory until the document is saved.


What I'm doing is loading hundreds of megabytes (or more) sequentially into the new document. The earlier data needs to be saved persistently so that it can be faulted out to make room for later data.

This issue is complicated by the fact that "save" means somewhat different things in [NSManagedContext save] and [NSDocument save].


_______________________________________________

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

_______________________________________________

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: 
 >Untitled NSPersistentDocument has no persistent store (From: Quincey Morris <email@hidden>)
 >Re: Untitled NSPersistentDocument has no persistent store (From: Ian Jackson <email@hidden>)
 >Re: Untitled NSPersistentDocument has no persistent store (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Modifying the clip view before scrolling.
  • Next by Date: Re: activate my application while dragging on other application window
  • Previous by thread: Re: Untitled NSPersistentDocument has no persistent store
  • Next by thread: Re: Bindings for NSComboBox?
  • Index(es):
    • Date
    • Thread