Cocoa input validation for duplicate name how? -


How can I apply this recognition to coca?

My position is:

Model: An object name with an object name and an NSArray of individual objects,

see: NSTableView, it The person uses data binding to bind with the object array. In-Place editing function is enabled in NSTableView.

When the user is editing the name in NSTableView, I must check whether the person's name is already present in the array.

I read the key - Various verification documents It seems that KVC will help validate the call: error: method on bound object So in my case, this person should be the object. But the person object can not reach the entire array, I can not check the repetition in the method.

Can someone ask me to use key-value values ​​to handle this matter?

Thank you!

-

Special User Interfaces User Updates A Value " take a look at. Hope it helps.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -