• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSValidatesImmediatelyBindingOption confustication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSValidatesImmediatelyBindingOption confustication


  • Subject: NSValidatesImmediatelyBindingOption confustication
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 25 Sep 2013 23:30:16 +0100

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 (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


  • Follow-Ups:
    • Re: NSValidatesImmediatelyBindingOption confustication
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: UIPageViewController page index woes
  • Next by Date: Re: UIPageViewController page index woes
  • Previous by thread: Re: Silent Self-Caught Exceptions vs. "All Exceptions" Breakpoint
  • Next by thread: Re: NSValidatesImmediatelyBindingOption confustication
  • Index(es):
    • Date
    • Thread