Thanks for this, I will definitely find it helpful.  I must confess that I have a tormented relationship with MacRuby.  I am a Pythonista and have found it extremely hard to move to the Ruby world.  My major issue with the language is the irb shell.  I definitely do not want to start a flame war, but I find it vastly inferior to iPython, especially iPython's newer releases.  Second, it frequently crashes when I do anything wrong syntactically.  I do appreciate MacRuby being a better accessor to Cocoa but in general don't think it is quite ready.  Instead I prototype my code in PyObjC and then implement it in Obj-C.  

-- 
Robert Cloud
http://www.robertlouiscloud.com
http://www.robertcloudphotography.com

On Friday, February 10, 2012 at 12:13 PM, Daniel Westendorf wrote:

This is a really good idea Kevin, I'll see what I can add.

dw

On Fri, Feb 10, 2012 at 11:09 AM, Kevin Poorman <kjp@brightleafsoftware.com> wrote:
Good day,

I am a huge fan of the hard work that all of you have put forth to bring MacRuby where it is today. I have been using it on and off over the past 3 months for client work and have come across a few things that I often need that are in some way obscure / hard to find / under-documented, or -- mostly -- cocoa design patterns and ideas that are completely foreign to this rubyist. I wanted to try and contribute something to this project and as such, I've started a public repo of "Recipes" of MacRuby tasks / activities that were "hard fought." 

I am under no delusions that they are perfect, and welcome additions, refactorings and ridicule. But it's a start. Without further ado,


Currently it contains "recipes" for:
- Populating a NSCell based Table View
- Downloading a file while displaying a progress indicator in a sheet
- Opening the file/directory choosing sheet and handling the response

Coming soon it will contain recipes for:
- consuming scripting bridge files 
- Core Data (probably quite a few here)
- bootstrapping sinatra (awaiting a bugfix in macruby)

Please feel free to fork, and send pull requests etc. Lets make it awesome!

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel