From: Allison N. <dem...@ma...> - 2008-04-11 11:05:10
|
Hi everyone (on this apparently rather quiet mailing list!) I'm having a problem with creating a subclass of NSCell. Specifically, I am trying to initilise it as follows: cell = BarCell.initTextCell_("") The class definition for BarCell looks like this: class BarCell < NSCell attr_accessor :highlighted def initTextCell_(str) super_initTextCell_(str) end end I'm getting back an error that the bridge can't find the Objective-C method for the init... Can't get Objective-C method signature for selector 'initTextCell:' of receiver BarCell I've tried everything that I can think of, including playing around with the underscore on the end of the function declarations and references. Can anyone explain to me what is going on? (I've never had any trouble subclassing NSControls or NSViews) Alli |