RubyCocoa

RubyCocoa is a macOS framework that provides a bridge between the Ruby and the Objective-C programming languages, allowing the user to manipulate Objective-C objects from Ruby, and vice versa. It makes it possible to write a Cocoa application completely in Ruby as well as to write an application that mixes Ruby and Objective-C code.[1] An Apple project called MacRuby was under development to replace RubyCocoa in 2008.[2] A proprietary spin-off called RubyMotion was subsequently released in 2012, available for iOS, macOS and Android.[3]

RubyCocoa is used for exploration of a Cocoa object's features with irb interactively, prototyping of a Cocoa application, writing a Cocoa application that combines the features of Ruby and Objective-C, and wrapping macOS' native GUI for a Ruby script.[4]

RubyCocoa is free software, released under both the Ruby License and the LGPL.[1]

  1. ^ a b "File: RubyCocoa - A Ruby/Objective-C Bridge — RubyCocoa Documentation". rubycocoa.github.io. Retrieved 2024-12-18.
  2. ^ "Pragmatic Forums | Does MacRuby change the game?". 2010-04-02. Archived from the original on 2 April 2010. Retrieved 2024-12-18.
  3. ^ "About RubyMotion | RubyMotion". rubymotion.com. Retrieved 2024-12-18.
  4. ^ "Ruby and Python on OS X". developer.apple.com. Retrieved 2024-12-18.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search