(no subject)
(no subject)
- Subject: (no subject)
- From: Ken Victor <email@hidden>
- Date: Sat, 28 Apr 2007 12:49:26 -0700
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.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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