Erik Hanson
Erik Hanson

Reputation: 249

Alternatives to RestKit or ASIHTTPRequest for iOS

Are there any alternatives for connecting to a web service with iOS, other than RestKit or ASIHTTPRequest? ASIHTTPRequest is no longer being updated, so I'd like to know if there is anything currently being supported and updated other than RestKit. Thank you.

Upvotes: 3

Views: 4723

Answers (4)

Shial
Shial

Reputation: 1406

Replacement for RestKit is SLazeKit framework providing models mapper and CoreData serializer for RESTful resources.

SLazeKit allows you to:

  • map your models by Codable protocol
  • serialize CoreData models from API responses
  • fast and simple extend your models with API & CoreData

It is written in Swift. However, others of you my find it useful. :)

Upvotes: 2

leo
leo

Reputation: 7656

Take a look at Spaghetti. It's a nice replacement for RestKit, especially if the web server that you connect to is not as RESTfull as you hoped. Happy support available.

Upvotes: 4

Dan Ray
Dan Ray

Reputation: 21903

The author of ASI (long may it be missed!) recommends AFNetworking. Based on what I've seen here, it seems a popular choice.

You can of course roll your own with the built in NSURLConnection stuff that comes with the framework.

Upvotes: 2

bioffe
bioffe

Reputation: 6403

There is no need for ASIHTTPRequest whatsoever. Everything you need can be accomplished with NSURLConnection and its delegate.

Upvotes: 4

Related Questions