Ticket #84 (closed defect: invalid)
NSColor method dispatching problems
| Reported by: | psychs@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
framework 'Cocoa' # it doesn't work c = NSColor.colorWithCalibratedRed_green_blue_alpha(1.0, 1.0, 1.0, 1.0) # it works c = NSColor.colorWithCalibratedRed(1.0, green:1.0, blue:1.0, alpha:1.0) # it doesn't work c.blendedColorWithFraction_ofColor(0.5, NSColor.greenColor) # it works c.blendedColorWithFraction(0.5, ofColor:NSColor.greenColor)
test.rb:4:in `<main>': undefined method `colorWithCalibratedRed_green_blue_alpha' for NSColor:Class (NoMethodError)
test.rb:10:in `<main>': undefined method `blendedColorWithFraction_ofColor' for #<NSCachedRGBColor:0x14b6070> (NoMethodError)
Change History
Note: See
TracTickets for help on using
tickets.

