You can now pass true Ruby objects to a table or outline view
datasource (since MacRuby doesn't use proxies) but keep in mind that
you must always pass the same unique references and not copies, as
mentioned in the documentation.
http://developer.apple.com/mac/library/documentation/Cocoa/Re
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
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
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@lists.macosforge.org