Re: No validation with a bound NSTableView and custom NSFormatter
Re: No validation with a bound NSTableView and custom NSFormatter
- Subject: Re: No validation with a bound NSTableView and custom NSFormatter
- From: Quincey Morris <email@hidden>
- Date: Tue, 01 May 2012 15:07:09 -0700
On May 1, 2012, at 14:55 , Kyle Sluder wrote:
> That seems to be at odds with the Bindings documentation: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaBindings/Concepts/MessageFlow.html
>
> The validation should be triggered as soon as the text field tries to commit editing.
That's what I meant by "when editing ends". The point was that validation doesn't occur keystroke by keystroke when "Validates immediately" is checked, even though it would be a reasonable guess from the title of the checkbox.
If "Validates immediately" is *not* checked, no automatic verification occurs at any time. In that case, I assume, you're expected to trigger validation of all relevant fields manually at some point. (In the flow chart you referred to, there's no mention of validation except at Step 3.)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden