• 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
Re: Adding bindings to a custom view - "simple" implementation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding bindings to a custom view - "simple" implementation


  • Subject: Re: Adding bindings to a custom view - "simple" implementation
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 17 Apr 2006 14:59:03 -0400

few controls will need to implement editor registration.

that is only needed if your control delays updating the binding value (the only two examples I can think of is NSTextField(andCell) and NSTextView.

pretty much every other control falls into the button/slider/click-or- keypress-to-do-something-immediately realm

On Apr 17, 2006, at 12:02 PM, George Orthwein wrote:

Is it okay to use the "short" version? My view isn't a control so it isn't initiating any updates. It looks like the "long" way would allow more flexibility as well as NSEditorRegistration, but I don't seem to need those for my view.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Adding bindings to a custom view - "simple" implementation (From: George Orthwein <email@hidden>)

  • Prev by Date: Re: Choose an NSFont with specific line height?
  • Next by Date: Re: addObserver:forKeyPath:options:context
  • Previous by thread: Re: Adding bindings to a custom view - "simple" implementation
  • Next by thread: Re: Adding bindings to a custom view - "simple" implementation
  • Index(es):
    • Date
    • Thread