• 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: [Core Data - Newbie] Validation Error Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Core Data - Newbie] Validation Error Message


  • Subject: Re: [Core Data - Newbie] Validation Error Message
  • From: Óscar Morales Vivó <email@hidden>
  • Date: Wed, 27 Jul 2005 15:54:57 -0400

Just read the NSError reference, fill up the dictionary for the one you create when your validation goes bad and assign that new NSError object to the passed-by-reference one you get.

It's slightly tedious, having to write the code and figure out all the strings you need in your strings files, but it sure beats the older ways of doing it.

On Jul 27, 2005, at 15:42 , Charles Haron wrote:

Hello,

I've FINALLY managed to create a custom validation method that works. Now, how do I change the default "An error has occurred" message, to something more specific to my validation method?

Thanks,
Charles
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[Core Data - Newbie] Validation Error Message (From: Charles Haron <email@hidden>)

  • Prev by Date: Re: [ANN] bindlist.py: A simple tool for listing all the bindings in a nib
  • Next by Date: Reflecting image using NSAffineTransform
  • Previous by thread: [Core Data - Newbie] Validation Error Message
  • Next by thread: Reflecting image using NSAffineTransform
  • Index(es):
    • Date
    • Thread