Re: NSValidatesImmediatelyBindingOption confustication
On 26 Sep 2013, at 04:52, Keary Suska wrote: > > No, you have it right. The docs have it wrong. Please file a bug ;-) Bug is in: 15086319 Jonathan ___ 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
Re: NSValidatesImmediatelyBindingOption confustication
On Sep 25, 2013, at 4:30 PM, jonat...@mugginsoft.com wrote: > WRT NSValidatesImmediatelyBindingOption the binding docs say: > > Q >A Boolean value that determines if the contents of the binding are > validated immediately. > > If YES, the value is validated as it is entered. Otherwise, the content > is validated only when the user interface item attempts to resign as the > responder. > /Q > > This seems quite misleading and somehow conflated with > NSContinuouslyUpdatesValueBindingOption. > > Reading the bindings message flow docs > https://developer.apple.com/library/mac/DOCUMENTATION/Cocoa/Conceptual/CocoaBindings/Concepts/MessageFlow.html > it is clear that KVC validation ONLY occurs if this option is set. > > Or have I got that wrong somehow? > Certainly I can only get my model bindings to validate if this option is > enabled. No, you have it right. The docs have it wrong. Please file a bug ;-) Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business" ___ 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
NSValidatesImmediatelyBindingOption confustication
WRT NSValidatesImmediatelyBindingOption the binding docs say: Q A Boolean value that determines if the contents of the binding are validated immediately. If YES, the value is validated as it is entered. Otherwise, the content is validated only when the user interface item attempts to resign as the responder. /Q This seems quite misleading and somehow conflated with NSContinuouslyUpdatesValueBindingOption. Reading the bindings message flow docs https://developer.apple.com/library/mac/DOCUMENTATION/Cocoa/Conceptual/CocoaBindings/Concepts/MessageFlow.html it is clear that KVC validation ONLY occurs if this option is set. Or have I got that wrong somehow? Certainly I can only get my model bindings to validate if this option is enabled. Jonathan ___ 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