Skip navigation.
 
ml(no subject)
FROM : Ken Victor
DATE : Sat Apr 28 21:49:26 2007

i have an NSTableView bound via an NSArrayController. the array
controller's object is a custom class (subclass of NSObject) that
contains an NSMutableDictionary. i "forward" most messages to this
class directly to the contained dictionary. however, my class does
have a validateValue:forKey:error: message in order to do validation.
i have this custom class because i could not figure out how to do
validation if the array controller's object was simply an
NSMutableDictionary. is it possible? if so, how?

in reality, i have NSFormatters that actually do my validation (and
these same formatters are used elsewhere for controls that aren't in
a table). thus, what i would really prefer would be to use a
NSMutableDictionary as the object for my NSArrayController and to
disable all automatic binding validation. is this possible? and if
so, how?

thanx,
ken

ps. i've done the archive and google searches but couldn't find
anything appropriate and i've looked at the fine examples on mmalc's
homepage as well.

Related mailsAuthorDate
ml(no subject) Marco Ippoliti Apr 22, 13:53
mlRe: (no subject) Finlay Dobbie Apr 22, 14:11
mlRe: (no subject) Michael Watson Apr 22, 20:31
ml(no subject) fred.redcliffe Apr 25, 00:47
mlRe: (no subject) Andy Lee Apr 25, 00:53
mlRe: (no subject) Sherm Pendley Apr 25, 00:58
mlRe: (no subject) Andy Lee Apr 25, 01:14
ml(no subject) Ken Victor Apr 28, 21:49
ml(no subject) Alessandro Barile May 2, 20:31
mlRe: (no subject) Graham Perks May 5, 06:19