[MacRuby-devel] [MacRuby] #401: Cannot call from ObjC to Ruby with an int argument
MacRuby
ruby-noreply at macosforge.org
Sat Oct 24 17:41:17 PDT 2009
#401: Cannot call from ObjC to Ruby with an int argument
-------------------------------------+--------------------------------------
Reporter: antony.blakey@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: critical | Milestone: MacRuby 0.5
Component: MacRuby | Resolution: invalid
Keywords: |
-------------------------------------+--------------------------------------
Comment(by antony.blakey@…):
How is it possible then to implement Ruby objects that act as delegates or
dataSources? I'm doing this now for table delegates, and it works with int
arguments. The Ruby object '''doesn't''' descend from an Objective-C
implementation of the protocol (which I've found fixes the problem). If
this is true then how can you implement any Objective-C protocol with non-
object arguments in a Ruby object?
Is there something I need to do to register a protocol's method signatures
so that the argument types become the default?
--
Ticket URL: <http://www.macruby.org/trac/ticket/401#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list