Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Core Data - Newbie] Validation Error Message



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >[Core Data - Newbie] Validation Error Message (From: Charles Haron <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.