Laurent,
Congrats!
Rob
On 4 Oct 2010, at 22:40, Laurent Sansonetti wrote:
> Hi,
>
> After 5 months of development since the last release, MacRuby 0.7 is
> now available. Get it here while it's still hot!
>
> MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X
> core technol
Hi,
After 5 months of development since the last release, MacRuby 0.7 is
now available. Get it here while it's still hot!
MacRuby 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
I wrote these today: http://github.com/kch/macruby-programming-cocoa
I strived for very idiomatic ruby. This code is 100% Objective-C-isms-free.
• Each exercise has its own branch
• Each commit in the branch is one completed stage in the book
• Each commit message mentions the chapter for the pro
Hi all,
Code first:
cocoa_array = NSArray.new
ruby_array = []
puts ruby_array.count # => 0
puts ruby_array.count { true } # => 0
puts ruby_array.count("whatever") # => 0
puts cocoa_array.count # => 0
puts cocoa_array.count { true }