In practice, you should avoid passing objects as context to methods like this one, because their implementation won't keep a GC reference to them, so they might disappear during a collection cycle.

Since the Cocoa frameworks are GC-aware, these are generally strong pointers.

-Ben
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to