Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (39 sloc) 2.32 kb
49422f35 »
2009-03-09 adding macruby website
1 ---
2 title: Home
3 created_at: 2008-08-02 14:06:40.000000 -06:00
4b6b9fa9 »
2009-03-09 add blog entry layout
4 dirty: true
49422f35 »
2009-03-09 adding macruby website
5 filter:
6 - erb
7 ---
7b51fb8a »
2010-05-01 more accurate intro (bis)
8 <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>
49422f35 »
2009-03-09 adding macruby website
9 <hr size="0" noshade class="harvardrule" />
10
11 <div id="newsbox">
7560aa37 »
2009-03-14 add paging to the blog
12 <h3><a href="/blog/index.html"><img src="/images/h3_macruby_blog.png" alt="MacRuby Blog" /></a></h3>
49422f35 »
2009-03-09 adding macruby website
13
14 <%
15 articles = @pages.find(:all, :in_directory => File.join(@page.dir, 'blog'), :recursive => true,
16 :sort_by => "created_at", :reverse => true, :blog_post => true)
ef7e9191 »
2010-05-01 finally, let's display hotcocoa again on the frontpage
17 articles[0,3].each do |page|
49422f35 »
2009-03-09 adding macruby website
18 -%>
19 <h4><%= page.title %></h4>
20 <%= blog_excerpt(page) %>
21 <hr size="0" noshade class="doublerule" />
22 <% end -%>
23
7560aa37 »
2009-03-14 add paging to the blog
24 <a href="/blog/index2.html"><img src="/images/h3_see-older-articles.png" alt="See Older Articles" /></a>
49422f35 »
2009-03-09 adding macruby website
25
26 </div><!-- //end newsbox -->
27
28 <h2>HotCocoa Is For Me!</h2>
df057c03 »
2010-05-01 merging comments from jordan + eloy
29 <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>
49422f35 »
2009-03-09 adding macruby website
30 <% coderay :lang => 'ruby' do -%>
c9825fa2 »
2010-01-31 prepared website for 0.5 release
31 require 'rubygems'
49422f35 »
2009-03-09 adding macruby website
32 require 'hotcocoa'
33 include HotCocoa
34 application do |app|
35 win = window :size => [100,50]
36 b = button :title => 'Hello'
37 b.on_action { puts 'World!' }
38 win << b
39 end
40 <% end -%>
41 <hr size="0" noshade class="doublerule" />
42
43 <h2>Why MacRuby?</h2>
df057c03 »
2010-05-01 merging comments from jordan + eloy
44 <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>
c9825fa2 »
2010-01-31 prepared website for 0.5 release
45 <hr size="0" noshade class="doublerule" />
Something went wrong with that request. Please try again.