Re: Showing an error message when the string entered in the NSTableView is too long
Re: Showing an error message when the string entered in the NSTableView is too long
- Subject: Re: Showing an error message when the string entered in the NSTableView is too long
- From: "I. Savant" <email@hidden>
- Date: Wed, 10 Oct 2007 14:21:17 -0400
> I have an NSTableView and the values that are displayed in the table view
> are bound to an entity.
> Now say, when i edit my first column, (the column should allow only 5
> charcters to be entered) i need to throw an error message if the number of
> characters entered are more than 5.
> I am using the concept of bindings to populate the table view.
> Is there a way by which i can show this error message?
See this doc: http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/Validation.html
--
I.S.
_______________________________________________
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