From: Allison N. <dem...@ma...> - 2008-04-14 07:44:46
|
Hi again, I've got another newbie question to ask. When I override a method of a Cocoa class with a Ruby method, how do I call the superclass's overridden version of the method? I've tried the standard Ruby 'super', but that just ends up with a stack overflow due to an infinite recursive loop. Specifically, I have a subclass of NSCell that overrides trackMouse_inRect_ofView_untilMouseUp, but NSCell does some useful processing in it's version of the function. How do I call it? Thanks for any help (or an explanation that what I want to do is not possible...) Alli |