Reputation: 4299
I don't want to go the full rubyobjc, how would I be able to use a few ruby-terms in my cocoa/objective-c code?
The reason I want to switch is because I really like ruby's syntax. It's awesome! If it's not possible, then I'm wondering if rubyobjc is good...
Unfortunately I've heard that when using rubyobjc there isn't a nib/interface builder.
Upvotes: 2
Views: 402
Reputation: 96323
You can't mix Ruby terms or syntax into Objective-C source files. You may be able to make some classes in Ruby (with MacRuby) and other classes in Objective-C, though.
Upvotes: 1
Reputation: 22336
Check out MacRuby, I was just watching a screencast on it the other day and he was able to use Interface Builder and call objective-c methods and ruby methods together to build a simple osx desktop app.
And now that Apple has lifted restrictions on iOS software, it might be possible to use it for iPhone/iPad development.
Upvotes: 2