Re: KVO on NSSlider not observing
Re: KVO on NSSlider not observing
- Subject: Re: KVO on NSSlider not observing
- From: "Kyle Sluder" <email@hidden>
- Date: Fri, 12 Dec 2008 08:48:12 -0500
On Fri, Dec 12, 2008 at 8:20 AM, Aaron Wallis <email@hidden> wrote:
> Usually I'd just use bindings in IB, but this is the first time i've had to
> build the interface through code.
When you set up bindings in IB, you bind the view to the controller.
So, you should do the same from code. Send
-bind:toObject:withKeyPath:options: to your slider. This is what IB
is doing for you when you lay out bindings graphically.
HTH,
--Kyle Sluder
_______________________________________________
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