Get Updates By E-mail 

Article Written By:
Johann Dowa

Library For Easily Working With Ruby On Rails Apps With Objective-C Code Generation

  •  
  •  
  •  
  •  
  •  

There are a number of excellent open source libraries out there for communicating with RESTful services such as the excellent MKNetworkKit, and AFNetworking.

Today I came across an open source framework for communicating with Rails servers offering a vast number of features for easily communicating with Ruby On Rails projects.  The library can even auto-generate Objective-C code, and for those who want to stick with Ruby now supports RubyMotion.

The library is NSRails from Dan Hassin.

Here’s a list of features taken from the Github page:

– High-level API, yet flexible enough even to work with any RESTful server
– Highly customizable “syncing” with your Rails attributes
– Nesting supported for relations like has-many, belongs-to, etc
– Asynchronous requests
– Autogenerate NSRails-ready Objective-C classes from a Rails project
– Supported in RubyMotion and MacRuby

Here’s a video demonstrating how easy it is to integrate a Rails web based service with an iOS app using NSRails:

You can find the source repository here, and extensive documentation is available in the wiki.

You can find the NSRails homepage here.

Definitely worth an extended look.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments