[MacRuby] #999: Handle Obj-C protocols better in MacRuby

MacRuby ruby-noreply at macosforge.org
Wed Nov 17 02:26:07 PST 2010


#999: Handle Obj-C protocols better in MacRuby
----------------------------------------+-----------------------------------
 Reporter:  martinlagardette@…          |       Owner:  lsansonetti@…        
     Type:  enhancement                 |      Status:  new                  
 Priority:  major                       |   Milestone:                       
Component:  MacRuby                     |    Keywords:                       
----------------------------------------+-----------------------------------

Comment(by martinlagardette@…):

 Attached is a patch that will:
  - Remove the NSInvocation warnings when using `Protocol#protocolWithName`
  - Make this work:
 `someObj.conformsToProtocol(Protocol.protocolWithName("NSCoding"))`

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



More information about the macruby-tickets mailing list