[MacRuby] #128: Default code in template for NSView-based objects does not execute
#128: Default code in template for NSView-based objects does not execute ---------------------------------+------------------------------------------ Reporter: francois@antier.org | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ the code for initWithFrame does not execute: def initWithFrame(frame) super_initWithFrame(frame) # Initialization code here. return self end should be replaced by def initWithFrame(frame) if super # Initialization code here. end return self end -- Ticket URL: <http://www.macruby.org/trac/ticket/128> MacRuby <http://macruby.org/>
#128: Default code in template for NSView-based objects does not execute ---------------------------------+------------------------------------------ Reporter: francois@antier.org | Owner: lsansonetti@apple.com Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: invalid Keywords: | ---------------------------------+------------------------------------------ Changes (by lsansonetti@apple.com): * status: new => closed * resolution: => invalid * milestone: MacRuby 0.4 => Comment: This is because the "NSView-subclass File" template is part of the RubyCocoa project, installed with the OS, and not MacRuby. The only Xcode template that comes with MacRuby is the "MacRuby Application" project template, so far. -- Ticket URL: <http://www.macruby.org/trac/ticket/128#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby