13

I want to build web service in Rails 3 and iOS app to work with this service. I need simple thing. User when first time open iOS app, get login screen. When is logged in, iOS app can send and get requests.

I already used Devise for authentication on Rails, and found RESTKit for iOS to map objects and use RESTfull web services, bit I didn't found anything about to confirm to work together.

My question is, what is the best solution to use on both sides, iOS and RoR to make this to work?

dormitkon
  • 2,526
  • 4
  • 39
  • 60
  • 2
    Your question is not clear. If you want to use RestKit, what is stopping? They will work great. You just have to map your objects to your rails app responses. Devise the right option as well. – Gurpartap Singh Jun 28 '11 at 18:34
  • I didn't try RestKit with Device, and I want to be sure that there is no some unusual problems in that combination :) – dormitkon Jun 28 '11 at 19:01
  • RestKit is great! Using it already :) – Gurpartap Singh Jul 06 '11 at 07:30
  • possible duplicate of [HTTP authentication between devise and iphone app](http://stackoverflow.com/questions/6474532/http-authentication-between-devise-and-iphone-app) – dormitkon Sep 27 '11 at 10:23

1 Answers1

4

Take a look at what I did for the same setup (IOS device <=> Rails webservice).

Community
  • 1
  • 1
David
  • 7,310
  • 6
  • 41
  • 63