[ANN]RubyCocoa 0.4.1 was released!

K

kimura wataru

RubyCocoa 0.4.1 was released!

http://rubycocoa.sourceforge.net/
(The web site have been moved from http://www.fobj.com/rubycocoa/)

The '.pkg' binary packages are available for Mac OS X 10.3/10.2.
All of framework, library, documents, samples and Xcode/ProjectBuilder
templates are contained in the package. These items will be installed
into the appropriate place. It is available to start of RubyCocoa
programming or use of RubyCocoa application immediately.


== Changes from 0.4.0

* enable bundling RubyCocoa.framework within an application bundle

Change a build configration of RubyCocoa.framework project, to
execute a RubyCocoa application on the environment which is not
installed RubyCocoa. It allows that RubyCocoa application itself
bundles with RubyCocoa.framework.

* Mac OS X 10.3 and Xcode supported


== What's RubyCocoa?

RubyCocoa is a Mac OS X framework that allows Cocoa programming in
the Object-Oriented Scripting Language Ruby.

RubyCocoa allows writing a Cocoa application in Ruby. It allows
creating and using a Cocoa object in a Ruby script. In Cocoa
application, mixture of program written by both Ruby and Objective-C
is possible.

Some cases using RubyCocoa:

* Exploration of a Cocoa object's feature with 'irb' interactively
* Prototyping of a Cocoa application
* Cocoa application that include good feature of Ruby and Objective-C
* Wrapping Mac OS X native GUI for Ruby script
 
P

Phil Tomson

RubyCocoa 0.4.1 was released!

http://rubycocoa.sourceforge.net/
(The web site have been moved from http://www.fobj.com/rubycocoa/)

The '.pkg' binary packages are available for Mac OS X 10.3/10.2.
All of framework, library, documents, samples and Xcode/ProjectBuilder
templates are contained in the package. These items will be installed
into the appropriate place. It is available to start of RubyCocoa
programming or use of RubyCocoa application immediately.


== Changes from 0.4.0

* enable bundling RubyCocoa.framework within an application bundle


Change a build configration of RubyCocoa.framework project, to
execute a RubyCocoa application on the environment which is not
installed RubyCocoa. It allows that RubyCocoa application itself
bundles with RubyCocoa.framework.

* Mac OS X 10.3 and Xcode supported



== What's RubyCocoa?

RubyCocoa is a Mac OS X framework that allows Cocoa programming in
the Object-Oriented Scripting Language Ruby.

RubyCocoa allows writing a Cocoa application in Ruby. It allows
creating and using a Cocoa object in a Ruby script. In Cocoa
application, mixture of program written by both Ruby and Objective-C
is possible.

Some cases using RubyCocoa:

* Exploration of a Cocoa object's feature with 'irb' interactively
* Prototyping of a Cocoa application
* Cocoa application that include good feature of Ruby and Objective-C
* Wrapping Mac OS X native GUI for Ruby script

Thanks.

Will this work with Ruby 1.8.2?

Phil
 
K

kimura wataru

this is terrific news! what build config has to be changed in order to
support this? i've been looking through the distribution and can't find
it. i'm assuming it adds a self-contained libruby to the RubyCocoa
framework bundle (i've been working on hacking this together on my own
but it was really ugly so far), does it let us also add third-party
modules that our app depends on?

doug

The changed build config is INSTALL_PATH.

from ChangeLog:
for bundling within an application bundle, set INSTALL_PATH to
"@executable_path/../Frameworks". suggested by Rod Schmidt.


You can package third-party mouldes in your application,
for example:

1. copy libraries into your application

YourApp.app/Contents/Resouces/
/rb_main.rb
/(your scripts)
/redist/(third-party libraries)

2. add LOAD_PATH

in rb_main.rb:

require 'osx/cocoa'

def rb_main_init
path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation
# add LOAD_PATH for libraries packaged into this application
path_redist = path + '/redist'
$LOAD_PATH.push path_redist
:
snip
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top