[MacRuby-devel] attr_writer style outlets and plain-method actions may not show up in IB when new frameworks are installed

Pat Maddox pat.maddox at gmail.com
Sun Apr 12 17:59:04 PDT 2009

If you've got a simple class like

class MyController
  attr_writer :log

  def draggingEntered(sender)

Then log will show up as an outlet in IB, and draggingEntered will be an action.

I installed the iPhone SDK after MacRuby, and all of a sudden those
stopped automatically showing up.  ib_outlet and ib_action continued
to show up fine.  Once I installed MacRuby again, the attr_writer
outlets and plain-method actions automatically appeared in IB again.

I didn't see a wiki for MacRuby...might be useful to put this note
somewhere in the docs in case anyone else runs into this.

btw, I am instantly addicted to MacRuby.  Thanks for such an awesome project.


More information about the MacRuby-devel mailing list