• 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: Why is it wrong to have relationships without an inverse in Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is it wrong to have relationships without an inverse in Core Data?


  • Subject: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • From: Charles Srstka <email@hidden>
  • Date: Sat, 22 Jun 2013 17:03:35 -0500

On Jun 22, 2013, at 10:43 AM, Michael Crawford <email@hidden> wrote:

> I don't use Core Data because it's not cross-platform.  In my honest
> opinion no one in their right mind would bet their livelihood on
> platform-specific document formats, no matter what the platform.
>
> ...
>
> While one can use SQLite or XML for the storage, if the SQLite or XML
> documents are to be opened on some other platform, one would have to
> write all that code from scratch, without the use of Core Data.

To me, it's not that you'd have to write all the code from scratch that makes Core Data concerning, it's the fact that the format is undocumented. Sure, it's not too hard to study the XML or SQLite that Core Data generates and figure out its format, but if there are corner cases in the format that you didn't figure out or if the format changes at some point, any custom code for reading, or especially writing, your format will be buggy and unreliable.

If Apple published a complete specification for the format, I'd be willing to use Core Data, but as it is, the prospect of having one's own file format as a black box is a huge turn-off to me.

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


  • Follow-Ups:
    • Re: Why is it wrong to have relationships without an inverse in Core Data?
      • From: Michael Crawford <email@hidden>
References: 
 >Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Kyle Sluder <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Rick Mann <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Kyle Sluder <email@hidden>)
 >Re: Why is it wrong to have relationships without an inverse in Core Data? (From: Michael Crawford <email@hidden>)

  • Prev by Date: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Next by Date: NSTableView/NSOutlineView view-based group rows/items span the whole column?
  • Previous by thread: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Next by thread: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Index(es):
    • Date
    • Thread