[MacRuby-devel] Could not connect button:
Bryan Goines
bryann83 at gmail.com
Fri Jun 3 09:40:34 PDT 2011
Aston,
Thanks for the youtube link. Unfortunately, I am getting same error, but I found a solution by deleting the project folder in ~/Library/Developer/Xcode/DerivedData/ then re-run the Build. I am not getting that error anymore.
It might be a good tip for everyone who encounter the same issue.
Thanks!
--
Bryan
Sent with Sparrow (http://bit.ly/sigsprw)
On Friday, June 3, 2011 at 10:56 AM, azzzz at gmx.net wrote:
> 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 (mailto:MacRuby-devel at lists.macosforge.org)
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org (mailto: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/f3567f92/attachment-0001.html>
More information about the MacRuby-devel
mailing list