Thanks to answer Laurent.
On Sat, Apr 10, 2010 at 9:47 PM, Laurent Sansonetti
wrote:
> Hi Daniel,
>
> MacRuby uses the Objective-C garbage collector, and also runs the
> Objective-C runtime in GC mode. It basically means that you can use Cocoa
> objects without the need to retain/release them, an
On Apr 10, 2010, at 8:17 PM, Thibault Martin-Lagardette wrote:
> Hi,
>
> What version are you using?
owl:~ rlove$ macruby --version
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
I had a nightly installed last night but then the HotCoca demos wouldn't run so
I went and fetch
Hi,
What version are you using?
Since we rewrote the bridge between hash and dictionaries, it is possible that
thing have changed since then.
However, with the latest trunk / nightlies, it should work. Here is what I get:
>> h = {}
=> {}
>> h.class
=> Hash
>> h.setObject 'foo', forKey:42
=> {42
I'm trying to learn Macruby and am using Apple's page as a guide:
http://developer.apple.com/mac/articles/scriptingautomation/cocoaappswithmacruby.html
I'm using macirb to follow the example and getting complete different answers.
Is the web page wrong? Is Macruby wrong? Am I doing somethin
Hi Daniel,
MacRuby uses the Objective-C garbage collector, and also runs the Objective-C
runtime in GC mode. It basically means that you can use Cocoa objects without
the need to retain/release them, and they will be automatically collected at
runtime once there is no reference to them anymore.
On Apr 10, 2010, at 1:20 AM, Laurent Sansonetti wrote:
>
> Guys, this isn't the right place to discuss this, I'm afraid. I recommend
> using an official channel such as the Apple Developer Relations.
>
> Thanks :-)
>
> Laurent
I understand and respect your perspective, but when a developer mak
Hello, I would like to know more about the garbage collector. In Obj-c even
when we have GC enabled we should set nil to the vars (which sometimes is
also useful in pure ruby). Correct me if I'm wrong but in MacRuby we can't
use GDB, right? We still able to use profile tools? I should set all vars
> Hi Russell,
>
> Sorry for the late response.
no worries... :)
> OpenDirectory.framework ships with BridgeSupport annotations, so doing
> "framework 'OpenDirectory'" should merge all symbols into MacRuby. If some
> are missing, it's likely a bug in the BridgeSupport generator, that should be
At 1:20 AM -0700 4/10/10, Laurent Sansonetti wrote:
> Guys, this isn't the right place to discuss this, I'm afraid. I
> recommend using an official channel such as the Apple Developer
> Relations.
>
> Thanks :-)
Not surprisingly, I disagree. The "official channel" does not
offer a forum in which
Guys, this isn't the right place to discuss this, I'm afraid. I recommend using
an official channel such as the Apple Developer Relations.
Thanks :-)
Laurent
On Apr 9, 2010, at 11:16 PM, steve ross wrote:
> I don't know whether anyone will provide a rationale for the contract
> language, but
10 matches
Mail list logo