[MacRuby-devel] NSManagedObject being returned in delegate as Pointer

Benjamin Stiglitz ben at tanjero.com
Mon Jan 5 12:52:02 PST 2009


> 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


More information about the MacRuby-devel mailing list