Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (37 sloc) 2.158 kb
49422f3 @richkilmer adding macruby website
richkilmer authored
1 ---
2 title: Home
3 created_at: 2008-08-02 14:06:40.000000 -06:00
4 filter:
5 - erb
6 ---
7 <p class="callout"><strong>MacRuby</strong> is a version of Ruby 1.9, ported to run directly on top of Mac OS X core technologies such as the Objective-C common runtime and garbage collector, and the CoreFoundation framework. While still a work in progress, 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.</p>
8 <hr size="0" noshade class="harvardrule" />
9
10 <div id="newsbox">
11 <h3><img src="/images/h3_macruby_blog.png" alt="MacRuby Blog" /></h3>
12
13 <%
14 articles = @pages.find(:all, :in_directory => File.join(@page.dir, 'blog'), :recursive => true,
15 :sort_by => "created_at", :reverse => true, :blog_post => true)
16 articles[0,3].each do |page|
17 -%>
18 <h4><%= page.title %></h4>
19 <%= blog_excerpt(page) %>
20 <hr size="0" noshade class="doublerule" />
21 <% end -%>
22
23 <a href="/blog/index.html"><img src="/images/h3_see-older-articles.png" alt="See Older Articles" /></a>
24
25 </div><!-- //end newsbox -->
26
27 <h2>HotCocoa Is For Me!</h2>
28 <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. <a href="">Check out some of the cool things you can do with HotCocoa!</a></p>
29 <% coderay :lang => 'ruby' do -%>
30 require 'hotcocoa'
31 include HotCocoa
32 application do |app|
33 win = window :size => [100,50]
34 b = button :title => 'Hello'
35 b.on_action { puts 'World!' }
36 win << b
37 end
38 <% end -%>
39 <hr size="0" noshade class="doublerule" />
40
41 <h2>Why MacRuby?</h2>
42 <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 Ruby 1.8. Consequently, there are a number of reasons (e.g. conveience, efficiency, flexibility, performance) why one might wish to use MacRuby for new (and ongoing) Ruby applications... <a href=""><i>Read more...</i></a></p>
43 <hr size="0" noshade class="doublerule" />
Something went wrong with that request. Please try again.