Re: Excessive open gui graphics files on Mavericks
Re: Excessive open gui graphics files on Mavericks
- Subject: Re: Excessive open gui graphics files on Mavericks
- From: John Joyce <email@hidden>
- Date: Wed, 09 Apr 2014 14:32:14 +0900
On Apr 9, 2014, at 2:28 PM, ChanMaxthon <email@hidden> wrote:
> The SQLite DB thing is just like a tar archive, and if you dare to you can even include a cramfs driver in your code and consolidate all your resources into one optionally encrypted cramfs image. Every file archiving method that allows in-memory expansion works, and my personal recommendation is tar and cramfs, since the first is very common and easily handled, and the latter is a proper file system that is designed to be expanded in memory (mostly used as initramfs for Linux)
>
> Sent from my iPad
Sure. Core Data would work just as well as binary blobs.
Base64 would work in plists / xml / keyed archives / yaml / json whatever.
Serializing a dictionary or custom object would make it really simple and easy to manage.
As a text file, you could compress the heck out of it if needed to reduce file size for app distribution.
Decompress it at first launch into the app’s Application Support folder.
_______________________________________________
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