• 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: Visual feedback of invalid cell data from Core Data - how to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visual feedback of invalid cell data from Core Data - how to?


  • Subject: Re: Visual feedback of invalid cell data from Core Data - how to?
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 19 Mar 2011 16:05:10 -0700

On 2011 Mar 19, at 14:55, Quincey Morris wrote:

> Note that Core Data doesn't give a damn if you pollute your data model with invalid attribute values, even violations of entity-declared constraints, until it gets to a save. At that point it will refuse to save if there are any errors it can detect, and return an entire array of error objects.

… and it will display a modal dialog to the user announcing "Cocoa Error 134100", or something like that, in bold font.  And as Quincey noted this happens after your user has been working on a document for 30 minutes and now wants to save.  Not a pretty picture.  Core Data's built-in validation is useable for in-house projects only.

_______________________________________________

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: 
 >Visual feedback of invalid cell data from Core Data - how to? (From: Luke Evans <email@hidden>)
 >Re: Visual feedback of invalid cell data from Core Data - how to? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Is a file open in another application?
  • Next by Date: TableView / ArrayController sorting not updating the tableview
  • Previous by thread: Re: Visual feedback of invalid cell data from Core Data - how to?
  • Next by thread: Re: Visual feedback of invalid cell data from Core Data - how to?
  • Index(es):
    • Date
    • Thread