Re: nsbundle and nspersistentdocument
Re: nsbundle and nspersistentdocument
- Subject: Re: nsbundle and nspersistentdocument
- From: Cornelius Jaeger <email@hidden>
- Date: Thu, 26 May 2005 09:30:45 +0200
hi mmalc,
thx for the info, gonna use a data entity to keep my data and load it lazily. is there any way i can have a data entity and refer to it by path, rather than load the nsdata into memory. if i load an image using initWIthContentsOfURL: i have the data in memory once, till i release, correct? if i reference a data entity i load the data into memory and then init my image with initWithData: i have the data in memory twice? this is the situation i'm trying to avoid. do you know how to do this using the core data framework. i was hoping to keep an assets folder in my filewrapper to copy any images to. this doesn't seem to be much of an option right now.
thx
cornelius
On May 25, 2005, at 7:30 PM, mmalcolm crawford wrote: If your aim is to use file wrappers, then unfortunately NSPersistentDocument will not help. You may be able to support file wrappers by subclassing NSDocument and setting up your own persistence stack etc. but this has not yet been "officially" investigated...
mmalc
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden