Custom View with Bindings in a NSTableCellView

Posted by Kyle Kinkade on Stack Overflow See other posts from Stack Overflow or by Kyle Kinkade
Published on 2011-11-15T19:24:28Z Indexed on 2011/11/16 1:50 UTC
Read the original article Hit count: 591

Filed under:
|
|
|

i have an XCode 4 project for mac desktop. It has a tableview in it that uses NSTableCellViews. The TableView is connected to an NSArrayController to provide it's content. This is using bindings for custom labels and the like, which has worked out rather well.

I have a custom view that i would like to put in the NSTableCellView, which will use custom drawing based on a NSNumber value from my Table Cell View binding.

Since XCode 4, you can no longer have ibplugins, which means i can no longer create custom bindings for interface builder to work with. How can I still get this value to my custom view?

© Stack Overflow or respective owner

Related posts about osx

Related posts about cocoa