Mailing Lists: Apple Mailing Lists

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

(no subject)



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

This email sent to 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.