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@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel