On Apr 8, 2014, at 3:13 PM, Rick Mann <rm...@latencyzero.com> wrote:

> As I write this, I realize that I can't just keep a whole document in memory; 
> the library (which would be a collection of separate files on disk, but 
> presented as a unified collection of content in the UI) could be very large 
> and I'd rather not load in the whole thing. Nevertheless, I think that's 
> doable.

In my experience (and I’ve done this at least three times), creating an object 
model that can be “paged” in and out from disk is hard, and takes more 
development time than you think it will. It may not seem hard to get it mostly 
working, but you keep having to come back to it to fix bugs or handle edge 
cases. I’m not a big fan of Core Data, but if you’ve worked with it before I 
suspect you’ll find it more efficient to use it for this than to roll your own.

—Jens
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to