Hello, In Swift, I'm using a custom Formatter subclass on a NSTextField (in a table) in IB. The textfield value binding is bound to a property of my model class. This property is a typealiased Int. I would also like to use KVC validation for this property, so my model class overrides
validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws After changing the text in the textfield, my validation method is not called. When I replace my custom formatter with an instance of NSNumberFormatter, everything works as expected. Any help with this would be greatly appreciated. -- 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