• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Opinion: Core Data or roll my own?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opinion: Core Data or roll my own?


  • Subject: Re: Opinion: Core Data or roll my own?
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 09 Apr 2014 07:49:16 -0700

On Apr 8, 2014, at 10:07 PM, Rick Mann <email@hidden> wrote:

> Well, if I were to do this, one of the reasons would be to create a text representation that could be easily diffed. I took a look at Core Data's XML format, and while necessarily verbose, it would work pretty well, until the schema changed.

You can always write some code to export the database to XML for such purposes.
But for regular storage, SQLite, or even a binary-format flat file, is going to be a lot more efficient than XML. (Assuming you have a large data set.)

—Jens
_______________________________________________

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


References: 
 >Re: Opinion: Core Data or roll my own? (From: Graham Cox <email@hidden>)

  • Prev by Date: Memoryleak in SpriteKit?
  • Next by Date: Re: Excessive open gui graphics files on Mavericks
  • Previous by thread: Re: Opinion: Core Data or roll my own?
  • Next by thread: Memoryleak in SpriteKit?
  • Index(es):
    • Date
    • Thread