[MacRuby-devel] [MacRuby] #575: Bug in Cocoa bindings for NSTableViewColumn + NSArrayController
MacRuby
ruby-noreply at macosforge.org
Sun Jan 24 04:27:46 PST 2010
#575: Bug in Cocoa bindings for NSTableViewColumn + NSArrayController
-----------------------------+----------------------------------------------
Reporter: ninh@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: blocker | Milestone:
Component: MacRuby | Resolution: invalid
Keywords: |
-----------------------------+----------------------------------------------
Comment(by eloy.de.enige@…):
@ninh Ah, I should have told you that :)
I wonder, wouldn't it be feasible to make all Ruby objects do a dup/clone
kind of operation by default? Something like:
{{{
def copyWithZone(zone)
copy = self.class.allocWithZone(zone).init
instance_variables.each { |ivar| copy.instance_variable_set ivar,
instance_variable_get(ivar) }
copy
end
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/575#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list