Re: [MacRuby-devel] Translating Obj-C to MacRuby

2009-10-14 Thread macruby
Would it be possible to keep track of the classes that have BridgeSupport files and load those automatically when the class is loaded?  That would at least prevent segfaults for the classes that have bridgesupport classes. - Ian On Wed, Oct 14, 2009 at 7:26 PM, Laurent Sansonetti (lsansone...@app

Re: [MacRuby-devel] Translating Obj-C to MacRuby

2009-10-14 Thread Laurent Sansonetti
Hi, On Oct 14, 2009, at 2:34 AM, B. Ohr wrote: Hi, Am 14.10.2009 um 11:04 schrieb Laurent Sansonetti: Hi, On Oct 14, 2009, at 1:03 AM, B. Ohr wrote: Hi all! Using Cocoa in MacRuby is sometimes a hard job, because all documentation, examples and sample code is Obj-C. For example, I fo

Re: [MacRuby-devel] Translating Obj-C to MacRuby (B. Ohr)

2009-10-14 Thread Keenan Brock
I was always amused by ASTranslate. I think they actually take the events sent and use those to generate code. http://appscript.sourceforge.net/tools.html --Keenan ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.mac

Re: [MacRuby-devel] Translating Obj-C to MacRuby

2009-10-14 Thread B. Ohr
Hi, Am 14.10.2009 um 11:04 schrieb Laurent Sansonetti: Hi, On Oct 14, 2009, at 1:03 AM, B. Ohr wrote: Hi all! Using Cocoa in MacRuby is sometimes a hard job, because all documentation, examples and sample code is Obj-C. For example, I found this piece of code '[NSNumber numberWithBool:N

Re: [MacRuby-devel] Translating Obj-C to MacRuby

2009-10-14 Thread B. Ohr
Hi John, Am 14.10.2009 um 10:34 schrieb John Shea: Hi Bernd, YES and NO in ObjC are translated to true and false in MacRuby. so you were probably after: NSNumber.numberWithBool(false) (I am curious as to how often that is useful actually) I will leave the table idea for others to comment

Re: [MacRuby-devel] Translating Obj-C to MacRuby

2009-10-14 Thread Laurent Sansonetti
Hi, On Oct 14, 2009, at 1:03 AM, B. Ohr wrote: Hi all! Using Cocoa in MacRuby is sometimes a hard job, because all documentation, examples and sample code is Obj-C. For example, I found this piece of code '[NSNumber numberWithBool:NO]' and asked myself how to write that in Macruby. You

Re: [MacRuby-devel] Translating Obj-C to MacRuby

2009-10-14 Thread John Shea
Hi Bernd, YES and NO in ObjC are translated to true and false in MacRuby. so you were probably after: NSNumber.numberWithBool(false) (I am curious as to how often that is useful actually) I will leave the table idea for others to comment - I actually think in the end there are only a few r

[MacRuby-devel] Translating Obj-C to MacRuby

2009-10-14 Thread B. Ohr
Hi all! Using Cocoa in MacRuby is sometimes a hard job, because all documentation, examples and sample code is Obj-C. For example, I found this piece of code '[NSNumber numberWithBool:NO]' and asked myself how to write that in Macruby. I opened macirb and typed: > NSNumber.numberWithBool