#401: Cannot call from ObjC to Ruby with an int argument
-------------------------------------+--------------------------------------
Reporter: antony.bla...@… | Owner: lsansone...@…
Type: defect | Status: closed
Priority: critical | Milestone: MacRuby 0.5
Component: MacRuby | Resolution: invalid
Keywords: |
-------------------------------------+--------------------------------------
Comment(by antony.bla...@…):
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel