[MacRuby-devel] Obj C objects

Robert Rice rice.audio at pobox.com
Mon Oct 12 14:00:43 PDT 2009


Hi Laurent:

In my RubyCocoa code I found that I had to create Obj C objects (using  
alloc and an init call to super) to pass to NS tables since the UI  
keeps copies of my objects. If all objects in MacRuby are Objective C  
objects are the calls to alloc and to super still required?

Bob Rice


On Oct 12, 2009, at 3:15 PM, Laurent Sansonetti wrote:

> Hi Robert,
>
> Could you be more explicit? I don't understand your question :)
>
> Thanks,
>
> Laurent
>
> On Oct 12, 2009, at 8:15 AM, Robert Rice wrote:
>
>> Hi Team:
>>
>> Converting a RubyCocoa project to MacRuby should I convert my  
>> Objective C objects to normal Ruby objects (excluding NS objects)  
>> and get rid of the call to alloc?
>>
>> Bob Rice
>>
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>



More information about the MacRuby-devel mailing list