Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (39 sloc) 2.313 kb
49422f3 @richkilmer adding macruby website
richkilmer authored
1 ---
2 title: Home
3 created_at: 2008-08-02 14:06:40.000000 -06:00
4b6b9fa @richkilmer add blog entry layout
richkilmer authored
4 dirty: true
49422f3 @richkilmer adding macruby website
richkilmer authored
5 filter:
6 - erb
7 ---
7b51fb8 more accurate intro (bis)
Laurent Sansonetti authored
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>
49422f3 @richkilmer adding macruby website
richkilmer authored
9 <hr size="0" noshade class="harvardrule" />
10
11 <div id="newsbox">
7560aa3 @richkilmer add paging to the blog
richkilmer authored
12 <h3><a href="/blog/index.html"><img src="/images/h3_macruby_blog.png" alt="MacRuby Blog" /></a></h3>
49422f3 @richkilmer adding macruby website
richkilmer authored
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)
ef7e919 finally, let's display hotcocoa again on the frontpage
Laurent Sansonetti authored
17 articles[0,3].each do |page|
49422f3 @richkilmer adding macruby website
richkilmer authored
18 -%>
19 <h4><%= page.title %></h4>
20 <%= blog_excerpt(page) %>
21 <hr size="0" noshade class="doublerule" />
22 <% end -%>
23
7560aa3 @richkilmer add paging to the blog
richkilmer authored
24 <a href="/blog/index2.html"><img src="/images/h3_see-older-articles.png" alt="See Older Articles" /></a>
49422f3 @richkilmer adding macruby website
richkilmer authored
25
26 </div><!-- //end newsbox -->
27
28 <h2>HotCocoa Is For Me!</h2>
a07a3a1 @richkilmer add hotcocoa stuff
richkilmer authored
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. <a href="/hotcocoa.html">Read more...</a></p>
49422f3 @richkilmer adding macruby website
richkilmer authored
30 <% coderay :lang => 'ruby' do -%>
c9825fa prepared website for 0.5 release
Laurent Sansonetti authored
31 require 'rubygems'
49422f3 @richkilmer adding macruby website
richkilmer authored
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>
ced9fab refreshing website
Laurent Sansonetti authored
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>
c9825fa prepared website for 0.5 release
Laurent Sansonetti authored
45 <hr size="0" noshade class="doublerule" />
Something went wrong with that request. Please try again.