[MacRuby-devel] MacRuby on Mavericks
Robert Carl Rice
rice.audio at pobox.com
Sun Nov 10 09:52:56 PST 2013
Thanks Rob,
I wasn't familiar with that syntax.
I like referencing the Obj-C property from the documentation perspective.
It distinguishes my references to IBOutlets from references to ruby class variables.
Bob
On Nov 10, 2013, at 4:19 AM, rob ista <rob.ista at me.com> wrote:
> Isn’t it enough to have a Class.h file as company of the Ruby.rb file like:
> // AppDelegate.h
>
> #import <Foundation/Foundation.h>
>
> @interface AppDelegate : NSWindowController {
>
> IBOutlet NSWindow *window;
> IBOutlet NSButton *homeButton;
> . . . etc etc
> }
>
> - (IBAction)loadStore:(id)sender;
> - (IBAction)sortContacts:(id)sender;
> . . . etc etc
>
> @end
>
>
> At least the IB is triggered by this but I admit i still don't have a big app running on Mavericks :)
>
> cheers, Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20131110/40a2a296/attachment.html>
More information about the MacRuby-devel
mailing list