Re: [MacRuby-devel] Learning & MacRuby ecosystem

2009-02-21 Thread Rich Morin
I have creating a start on a wiki-based index of MacRuby- related projects, including a stub page for translation of TextEdit into MacRuby. The pages are located at: https://www.macruby.org/trac/wiki/MacRubyProjects https://www.macruby.org/trac/wiki/MacRubyProjectsTextEdit Feel free to impro

Re: [MacRuby-devel] HotCocoa subclassing NSView

2009-02-21 Thread Richard Kilmer
Matt, You can subclass an NSView on the fly, I don't think a CustomView is needed: v = view :frame => [10,10,100,100] def v.drawRect(rect) #custom stuff here end Since you can just redefine methods in ruby this works great. Maybe we should add a syntax similar to the rails associations pr

[MacRuby-devel] incremental conversion of ObjC programs?

2009-02-21 Thread Rich Morin
I'd like to know whether it's possible to start with an ObjC program and convert it, incrementally, to MacRuby. That is, override one method at a time, making sure that nothing has been broken; rinse, repeat... If this IS possible, could someone (write and) point out a HowTo that gives specific i