Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Ruby for iOS development(?)

Hi, I have started the iOS track but I am finding the Objective-C to be a very ugly language and hard to get my head around (keeping in mind I am coming from front end web). I have looked into RubyMotion and was wondering if this would be easier to develop in. A project my friend and I are working on is done in Rails so I could get help from him.

Any thoughts?

4 Answers

I haven't heard a lot of nice things about RubyMotion, but I've only taken one superficial glance at it a year or so ago. If you're coming from the front-end development, though, solutions like Apache Cordova/PhoneGap, Ionic or Steroids might be a better fit.

Do those have many performance issues?

Depends on what you're trying to do. I've seen hybrid apps (using some of these frameworks) act like native apps, you couldn't really tell the difference. If your app is doing something computationally intensive, then yes, you could experience performance issues, but if you're mostly fetching/displaying stuff from a server, then it's not really an issue.

Another alternative (with a steeper learning curve) is Appcelerator Titanium which compiles the JavaScript into native code. Personally, I prefer Steroids, as it combines certain native features (like tabs and navbars) with pure HTML5/CSS/JS wrapped into WebViews.

Thanks!