[MacRuby-devel] Could not connect button:
azzzz at gmx.net
azzzz at gmx.net
Fri Jun 3 08:56:29 PDT 2011
Hi Bryan
Check out this quick walkthrough just to make sure you are doing everything correctly:
http://youtu.be/JbGqKf38QUI
If you can, go through that and let us know if you still get the same problem.
Aston
On 3 Jun 2011, at 16:41, Bryan Goines wrote:
> Hi all,
>
> I am trying to understand and solve this issue.
>
> First of all, I did the following step by step:
>
> 1) Create a new project
> 2) added 'buttonClick(sender)' method to AppDelegate class in AppDelegate.rb -- like this
>
> class AppDelegate
> attr_accessor :window
> ...
> def buttonClick(sender)
> puts "testing"
> end
> ...
> end
>
> 3) clicked MainMenu to open a GUI editor
> 4) dragged a button to the window.
> 5) open button's Connections Inspector and linked button to 'buttonClick'
> 6) Click Run button to build the app and execute app
>
> The following error from Xcode 4's output console:
>
> Could not connect the action buttonClick: to target of class AppDelegate
>
> Any idea why am I getting this error and what did I do anything wrong?
>
> Thanks!
>
>
> --
> Bryan
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110603/f1a8202e/attachment.html>
More information about the MacRuby-devel
mailing list