• 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: NSSegmentedControl subclass and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSegmentedControl subclass and bindings


  • Subject: Re: NSSegmentedControl subclass and bindings
  • From: mmalc Crawford <email@hidden>
  • Date: Fri, 29 Jun 2007 15:38:46 -0700


On Jun 29, 2007, at 11:00 AM, Dorian Johnson wrote:

Is there any way I can implement this without overriding bind: and tracking the observed objects myself, since NSSegmentedControl should, in theory, be doing the heavy lifting for me? If not I'll write it all, but I'm trying not to reinvent the square wheel since I obviously am not experienced in this area.

On Mac OS X 10.4, you can get information about a given binding using - infoForBinding:. You can then send a setValue:forKey: message to the observed object when the value changes. See <http://developer.apple.com/samplecode/BindingsJoystick/ >.

mmalc

_______________________________________________

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: NSSegmentedControl subclass and bindings
      • From: mmalc Crawford <email@hidden>
    • [SOLVED] Re: NSSegmentedControl subclass and bindings
      • From: Dorian Johnson <email@hidden>
References: 
 >NSSegmentedControl subclass and bindings (From: Dorian Johnson <email@hidden>)
 >Re: NSSegmentedControl subclass and bindings (From: mmalc Crawford <email@hidden>)
 >Re: NSSegmentedControl subclass and bindings (From: Dorian Johnson <email@hidden>)
 >Re: NSSegmentedControl subclass and bindings (From: mmalc Crawford <email@hidden>)
 >Re: NSSegmentedControl subclass and bindings (From: Dorian Johnson <email@hidden>)

  • Prev by Date: Screenshot of another app's Window
  • Next by Date: [SOLVED] Re: NSSegmentedControl subclass and bindings
  • Previous by thread: Re: NSSegmentedControl subclass and bindings
  • Next by thread: [SOLVED] Re: NSSegmentedControl subclass and bindings
  • Index(es):
    • Date
    • Thread