• 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 NSCell bindings through NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom NSCell bindings through NSTableColumn


  • Subject: Re: Custom NSCell bindings through NSTableColumn
  • From: August Trometer <email@hidden>
  • Date: Tue, 22 Nov 2005 01:19:59 -0500

Is it necessary to do it in IB? You can always set bindings programmatically with

bind:toObject:withKeyPath:options:

See here for more details:

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Protocols/NSKeyValueBindingCreation.html


-- August




On Nov 22, 2005, at 1:08 AM, Brian Smith wrote:

I have a custom NSCell similar to NSLevelIndicatorCell. In Interface Builder, when you set a NSLevelIndicatorCell as the data cell of a table column, the NSLevelIndicatorCell's minValue and maxValue bindings are exposed with the value binding for the NSTableColumn. I need to do the same thing. So, how can I make Interface Builder and NSTableColumn be aware of these bindings, so I can set the bindings to an NSArrayController's arrangedObject key?


_______________________________________________ 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 NSCell bindings through NSTableColumn (From: Brian Smith <email@hidden>)

  • Prev by Date: Custom NSCell bindings through NSTableColumn
  • Next by Date: Load Framework at runtime.
  • Previous by thread: Custom NSCell bindings through NSTableColumn
  • Next by thread: Load Framework at runtime.
  • Index(es):
    • Date
    • Thread