Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #128 (closed defect: invalid)

Opened 4 months ago

Last modified 4 months ago

Default code in template for NSView-based objects does not execute

Reported by: francois@… Owned by: lsansonetti@…
Priority: blocker Milestone:
Component: MacRuby Keywords:
Cc:

Description

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

Change History

Changed 4 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to invalid
  • milestone MacRuby 0.4 deleted

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.

Note: See TracTickets for help on using tickets.