3 ms·
No, actually. I can use Ruby's nice facilities for external processes (e.g., "x = `ls`" to get a directory listing or "system('do_something')") or simple regul
by jeremymcanally 14y ago
No, actually.
I can use Ruby's nice facilities for external processes (e.g., "x = `ls`" to get a directory listing or "system('do_something')") or simple regular expressions (i.e., "'string' =~ /my_regex/" and friends vs. NSRegularExpression's verbose syntax). I'm not forced to use Cocoa's verbose API if it has a nice Ruby wrapper (and if it doesn't have one, I can make one).
- cageface 14y agoThis: https://github.com/HipByte/RubyMotionSamples/blob/master/GestureTable/app/view_controller.rb https://github.com/HipByte/RubyMotionSamples/blob/master/Ges... Is what 95% of the code in your app is going to look like and I don't really see what it's buying you. You're also throwing away all the type checking you'd get on essentially the same code in Obj-C. I really like Ruby but I don't intend to use it for iOS apps.