[MacRuby] #1386: unrecognized selector error within NSGradient.alloc.initWithColorsAndLocations

MacRuby ruby-noreply at macosforge.org
Sat Sep 10 06:27:17 PDT 2011


#1386: unrecognized selector error within
NSGradient.alloc.initWithColorsAndLocations
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  minor                 |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 'Use other initializers.' is written in AppKit.bridgesupport for
 initWithColorsAndLocations.[[BR]]
 Is this API not support?

 For initWithColors:atLocations:colorSpace:, also, it is written the same
 message.

 {{{
 $ grep 'Use other initializers.'
 /System/Library/Frameworks/AppKit.framework/Resources/BridgeSupport/AppKit.bridgesupport
 4216:<method suggestion='Use other initializers.' ignore='true'
 selector='initWithColors:atLocations:colorSpace:'/>
 4217:<method variadic='true' sentinel='0' suggestion='Use other
 initializers.' ignore='true' selector='initWithColorsAndLocations:'/>
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1386#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list