[MacRuby-devel] sub classing with hot cocoa
John Shea
johnmacshea at gmail.com
Sat Nov 29 06:37:27 PST 2008
Hi folks,
I am sure there is an easy answer to this question, but I have not
figured it out after some experimenting (nor can I find an example in
the examples)
What do I do if i want to subclass (say) an NSView ? And yet still
employ that subclass with all the rest of the hot cocoa magic? (so
without using nib/xibs)
I would do this to overwrite the drawRect callback for NSView for
example - perhaps to do some animation.
Thanks in advance,
John
More information about the MacRuby-devel
mailing list