• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: call ruby scripts from objective c
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: call ruby scripts from objective c


  • Subject: Re: call ruby scripts from objective c
  • From: Gus Mueller <email@hidden>
  • Date: Mon, 22 Feb 2010 10:38:39 -0800

On Feb 22, 2010, at 10:16 AM, Matt Neuburg wrote:

> And of course RubyCocoa itself is not about Ruby per se, but about Ruby
> bridging to Objective-C; the only way to get *that* is to write your app in
> RubyCocoa (or MacRuby). m.

You don't have to write your app in RubyCocoa to get this, you can also load your ruby files via a bundle as in this example:
http://rubycocoa.svn.sourceforge.net/viewvc/rubycocoa/trunk/src/sample/VPRubyPluginEnabler/

The host is VoodooPad (an ObjC Cocoa app), and the bundle is a mix of RubyCocoa + ObjC.  The ObjC code in VoodooPad calls into ruby land without knowing it's ruby.

-gus

--

August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: call ruby scripts from objective c (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Help with creating CustomViews
  • Next by Date: High Level Toolkit -- is it obsolete or not?
  • Previous by thread: Re: call ruby scripts from objective c
  • Next by thread: Re: Extract keys, values from 'usrf' Record Type NSAppleEventDescriptor?
  • Index(es):
    • Date
    • Thread