[MacRuby-devel] MacRuby objects in IB in Xcode4
Eloy Duran
eloy.de.enige at gmail.com
Sun Jun 12 03:27:37 PDT 2011
Are you defining the ‘action’ method with a ‘sender’ argument? Because that's the way it's picked up as being a method that should be exposed to IB. E.g.:
def peelBananas(sender)
# provide your optimized algorithm for peeling bananas
end
On 11 jun 2011, at 21:46, Jakub Suder wrote:
> Hi,
>
> is there any way to connect a control's action to a method defined in
> a MacRuby class in Xcode4? I can't see how could I do it - am I doing
> something wrong or is this a missing feature for now? (I don't even
> see any way to add the method to the list manually in IB...)
>
> JS
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list