• 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: Custom NSView subclass + binding in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Custom NSView subclass + binding in IB (From: Daniel Yankowsky <email@hidden>)

  • Prev by Date: How to vertically align the text in a text field
  • Next by Date: Lost dirty window ability???
  • Previous by thread: Re: Custom NSView subclass + binding in IB
  • Next by thread: How to vertically align the text in a text field
  • Index(es):
    • Date
    • Thread