Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (46 sloc) 2.94 KB
title: Home
created_at: 2008-08-02 14:06:40.000000 -06:00
dirty: true
- erb
<p class="callout"><strong>MacRuby</strong> is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby. <a href="/documentation/overview.html"><i>Read more...</i></a></p>
<hr size="0" noshade class="harvardrule" />
<div id="newsbox">
<h3><a href="/blog/index.html"><img src="/images/h3_macruby_blog.png" alt="MacRuby Blog" /></a></h3>
articles = @pages.find(:all, :in_directory => File.join(@page.dir, 'blog'), :recursive => true,
:sort_by => "created_at", :reverse => true, :blog_post => true)
articles[0,2].each do |page|
<h4><%= page.title %></h4>
<%= blog_excerpt(page) %>
<hr size="0" noshade class="doublerule" />
<% end -%>
<a href="/blog/index2.html"><img src="/images/h3_see-older-articles.png" alt="See Older Articles" /></a>
</div><!-- //end newsbox -->
<h2>HotCocoa Is For Me!</h2>
<p>If you've done any amount of programming on OS X, you know that the API can be quite verbose. HotCocoa simplifies this down to very elegant and simple methods that then return super sexy UI elements. <br/> <a href="/hotcocoa.html">Read more...</a></p>
<% coderay :lang => 'ruby' do -%>
require 'rubygems'
require 'hotcocoa'
include HotCocoa
application do |app|
win = window :size => [100,50]
b = button :title => 'Hello'
b.on_action { puts 'World!' }
win << b
<% end -%>
<h2>The Definitive Guide</h2>
<!-- <img src="" alt="MacRuby Book by Matt Aimonetti" style="float:left; padding:0.5em 1em 0 0"> -->
<a href="">Matt Aimonetti</a> is currently working on a <a href="">MacRuby book for O'Reilly</a>. It is under development and the book is being published as it is being written. The work is released under a <a href="">Creative Commons</a> license, with the idea of getting early feedback from the community.
<a href="">Check it out!</a></p>
<hr size="0" noshade class="doublerule" />
<h2>Why MacRuby?</h2>
<p>MacRuby began as an attempt to work around many problems inherent in RubyCocoa. In the course of solving these problems, MacRuby has also solved numerous problems in the original implementation of Ruby. Consequently, there are a number of reasons (e.g. convenience, efficiency, flexibility, performance) why one might wish to use MacRuby for new (and ongoing) Ruby applications... <a href="/documentation/why-macruby.html"><br/><i>Read more...</i></a></p>
<hr size="0" noshade class="doublerule" />