Does not work for me -- IB doesn't recognize outlets or actions on Ruby controllers.
On Thu, Mar 10, 2011 at 9:49 PM, denny trebbin <dra_k_...@yahoo.com> wrote: > On Lion it does not work. Xcode4.x didn't show anything related to MacRuby. > Opening my StarCraft2 Replay Analyzer will cause Xcode4 to blame me about > missing MacRuby files. > > --- Laurent Sansonetti *<lsansone...@apple.com>* schrieb am *Fr, > 11.3.2011: > > > Von: Laurent Sansonetti <lsansone...@apple.com> > Betreff: Re: [MacRuby-devel] Note of warning about Xcode 4 > An: "MacRuby development discussions." <macruby-devel@lists.macosforge.org > > > Datum: Freitag, 11. März, 2011 00:33 Uhr > > > Hi Sven, > > On Mar 10, 2011, at 2:56 PM, Sven Schwyn wrote: > > > Hi Laurent > > > >> What Vincent is referring to is the Xcode 3 feature where IB would > automatically reveal the outlets and actions written in Ruby. This is not > working in Xcode 4, and may be the reason why you want to stick to Xcode 3. > > > > Well, it works for me. At least if by "reveal the outlets and actions" > you mean the following: > > > > Create application_controller.rb: > > > > class AppliationController > > attr_accessor foobar > > def do_this(sender) > > puts @foobar > > end > > end > > > > Edit MainMenu.XIB: > > > > - Add an NSObject and set it to class ApplicationController > > - Select the connection inspector for it > > - The outlet "foobar" and the action "do_this" show up an can be linked > to elements > > Strange! It wasn't working before, maybe they fixed that. I don't use > Xcode, so I didn't see. Can someone else verify this? If it all works, we > can include some Xcode4 templates in tomorrow's release. > > Laurent > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org<http://mc/compose?to=MacRuby-devel@lists.macosforge.org> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > * > > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > -- Scout Web Monitoring and Reporting ~ http://scoutapp.com blog: http://blog.scoutapp.com
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel