• 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: Dorian Johnson <email@hidden>
  • Date: Fri, 29 Jun 2007 13:00:57 -0500

Ah, alright, now I'm starting to understand it better.

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.

Thanks for the help...

On Jun 29, 2007, at 12:38 PM, mmalc Crawford wrote:

You clearly don't understand how they work...
Views do not emit KVO notifications.

mmalc



On Jun 29, 2007, at 12:45 PM, Jerry Krinock wrote:
Instead of -selectedIndex, try -objectValue. Not sure, but I think it will give you an NSNumber equal to the selectedIndex.

Setting objectValue doesn't do the trick, either.

_______________________________________________

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

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