Hi,

In a tableview with a content binding and a value binding on the table cell 
view textfields to the model's objectValue keypaths, I'm having trouble getting 
the key-value validation to work correctly. In the model class, I have 
implemented the required validation methods (validateKey(_ :) throws), for each 
of the properties, but the validation method only seems to get called for 
scallar types and not for eg. String types. I've made sure I checked "Validates 
immediately" in the binding attributes.
Any ideas about what I may be doing wrong?

-- 
Luc Van Bogaert



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to