Hi Mario,
Welcome! I am sure that the sponsor of this mailing list and project (Apple) would love to hear that MacRuby pushed you to give up your Hackintosh for an official Apple machine ;)
More seriously, after installing MacRuby, you will find a list of samples and examples in $ /Developer/Examples/Ruby/MacRuby/ There is a rtf there that explains what each example does and the various libraries covered.
You will also find some examples on GitHub and I tried to cover the main Cocoa elements in my book that you can read online (draft) http://macruby.labs.oreilly.com/ (we also have some tutorials and recipes on the website: http://macruby.org )
You don't have to search for MacRuby specific documentation, any Cocoa documentation will do, you just need to change the syntax. Apple's developer website has a lot of content you can easily read.
I believe there was also an effort to convert Aaron Hillegass's book examples to MacRuby.
- Matt
Hello All,First, let me introduce myself. I'm Mario Steele, I've been programming with Ruby for about 3 or 4 years now, mostly dealing with Ruby 1.8, and wxRuby (Also a maintainer there), and have recently decided to give MacRuby a try, since I've been using my Hackintosh setup more often. I'm not a new comer to Ruby, or GUI programming by far, but what I would like to know, is that if there are any Demos out there, dealing with various Controls provided by the Cocoa library, such as NSOutlineView, and NSTableView. Something that isn't written into the base code of the app, where all delegation methods for the window, and the application is inserted next to the stuff for the OutlineView and TableView stuff.I'm in the process of writting an iTunes replacement, based on similar setup, and design to Rhythmbox, and have gone out of my way, to get to the point where I am at now, but it would help my understanding more of the controls, if I see some code that strictly works with these controls, instead of code intermixed with other code for the App and Window controls.Thanks for your time,
--
Mario Steele
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel