Re: Opening persistent data store
Re: Opening persistent data store
- Subject: Re: Opening persistent data store
- From: Charles Srstka <email@hidden>
- Date: Sun, 9 Nov 2008 20:55:09 -0600
On Nov 8, 2008, at 11:06 PM, Jerry Krinock wrote:
Try -[NSDocument readFromData:ofType:error:]. True, because you
must read an sqlite database, you're not going to use the data that
you are passed as an argument. But that's OK. It will be
autoreleased and go away.
What if the file is a couple of GB large? That would make the VM page
like crazy. It wouldn't be fun.
Just override readFromURL:ofType:error: instead.
Charles
_______________________________________________
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