From: Rupert B. <rup...@fr...> - 2005-11-26 00:32:45
|
Hi all, I have defined a subclass of NSObject (eg MyAbstractObject). I now define a subclass of this and call it MyObject. I have defined : ns_overrides 'init' MyAbstractObject.init and MyAbstractObject.initWithContents(value) In MyObject, I have defined : ns_overrides 'init' MyObject.init in which I make a call to super_initWithContents(value) This method is not found : RBException_NameError, reason undefined method `super:initWithContents:' for class `MyObject' Am I proceeding correctly ? I remember subclassing in RubyCocoa was fixed a few weeks ago, but does this also appky for super_init-ing ? thanks for any help, Rup |