[MacRuby-devel] requesting advice for using Garbage Collection for a Cocoa MIDI app (so that I may use MacRuby)

2011-07-27 Thread Tom Jordan
rk-and-sweep.* Maybe someone is kind enough to correct me. Regards, - Rob On 2011-07-27, at 7:54 PM, Tom Jordan wrote: >* Hi,*>* *>* I'd like to use MacRuby alongside Objective-C in a MIDI app >I'm writing. I have already had success with evaluating MacRuby files from

[MacRuby-devel] requesting advice for using Garbage Collection for a Cocoa MIDI app (so that I may use MacRuby)

2011-07-27 Thread Tom Jordan
immensely.. or something in between if that's the case.. any more knowledge on this subject will be greatly appreciated.. Thanks ! Cheers, Tom Jordan ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-28 Thread Tom Jordan
> Thanks :) > > Laurent > > On Nov 26, 2010, at 2:30 PM, Tom Jordan wrote: > > > The problem is in my code that uses the MRGraphics library.. >> I removed that, but kept in all of the MRGraphics files, and required it, >> and windowControllerDidLoadNib is still work

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
> > end > > > > c.background(Color.gray) # paint background > > > > c.fill(Color.blue) # paint highlighted range > > c.draw(highlightedRange) > > > > c.fill(Color.yellow) # draw step-boxes > > c.stroke(0) >

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
-boxes c.stroke(0) c.stroke_width(1) c.draw(stepboxes) c.fill(Color.black) # draw cursor c.stroke_width(0) c.draw(cursor) end end On Fri, Nov 26, 2010 at 5:14 PM, Tom Jordan wrote: > I'm having some trouble bringing in the old nib to the newly working &

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
m going to submit an issue at its Github site.. On Fri, Nov 26, 2010 at 4:46 PM, Tom Jordan wrote: > Thanks Guys ! I just created a new project and it worked.. Now I'm going > to bring in my files from the other project and see if I can find where it > breaks.. > I'm also

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-26 Thread Tom Jordan
unt or something so that I can post a full project if need be.. This is a great resource, I appreciate the help.. thanks ! Regards, Tom Jordan On Fri, Nov 26, 2010 at 3:42 PM, Laurent Sansonetti wrote: > Hi Tom, > > I just created a sample NSDocument-based project, and added >

Re: [MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-25 Thread Tom Jordan
trying to get the code to format right, here it is again (hopefully better!): class MyDocument < NSDocument attr_accessor :loadedmodel, :root #outlet to model field of controller # Name of nib containing document window def windowNibName 'MyDocument' end # Document data representation

[MacRuby-devel] windowControllerDidLoadNib strangeness

2010-11-25 Thread Tom Jordan
/) {|s| s.downcase} end def windowControllerDidLoadNib(aController) super(aController) @root.model = @loadedmodel NSLog("model loaded") end end Regards, Tom Jordan ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel