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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]