Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sallay

macrumors newbie
Original poster
Mar 20, 2015
3
0
I would like to realize Restful on iPad to communicate with server. I have found some open-source frameworks, like RestKit, AFNetworking which are writtern in Objective-C. But others said they are too old and writtern several years age. And now apple is targeting Swift and we should focus on some native api. So what is the best way to realize Restful on iOS now? Does apple provide native api for restful, like cocoa?
 
AFNetworking is what I use. I don't think there is any problem with it being old. Apparently there is now a Swift networking lib from the original author of AFNetworking https://github.com/Alamofire/Alamofire so I would look at that.

Since the addition of NSURLSession to Apple's APIs it can do a lot of things that third party libs do. So you can look at using NSURLSession directly.

There is a huge number of blogs, tutorials and Apple docs on this topic.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.