From: Brian M. <ma...@ex...> - 2008-09-23 20:42:15
|
I have an app that works correctly when a table column is bound to an NSArrayController. Now suppose I subclass NSArrayController like this: class MyController < OSX::NSArrayController end If I switch the column's binding to MyController, leaving everything else the same, the bindings don't work in various interesting ways. I suspect that (1) something - IB? NSTableColumn? the data cell - knows the kind of thing it's bound to and adjusts its behavior accordingly, and (2) doesn't understand MyController's superclass. Could that be correct? If so, how do I get around the problem? If not, what's the real problem? ----- Brian Marick, independent consultant Mostly on agile methods with a testing slant www.exampler.com, www.exampler.com/blog, www.twitter.com/marick |