Re: Custom NSView subclass + binding in IB
Re: Custom NSView subclass + binding in IB
- Subject: Re: Custom NSView subclass + binding in IB
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 14 Feb 2005 22:50:22 -0800
On Feb 14, 2005, at 8:57 PM, Daniel Yankowsky wrote:
I'm relatively new to Cocoa programming. I'm trying to mess with
Cocoa bindings. I have a custom subclass of an NSView. I want to
bind a slider in my window to a property that I created of that view
called "hue".
You typically don't bind to another view in this way (WebView is an
exception). Unless your custom view is a combined controller and view,
I would suggest binding both the slider value and your custom view's
property to a value in a controller.
mmalc
_______________________________________________
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