RSNetworking2 for Swift 2

You can find RSNetworking2 on GitHub with https://github.com/hoffmanjon/RSNetworking2

The RSNetworking2 library is a network library written entirely in the Swift programming language. RSNetworking2 is built using Apple's powerful URL loading system (https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html), which features the NSURLSession class that we used earlier in this chapter. The main design goal of RSNetworking2 is to make it easy and quick for developers to add powerful asynchronous networking requests to their applications that are written in Swift.

There are the three ways in which we can use RSNetworking2:

  • RSURLRequest: This API provides a very simple and ...

Get Swift: Developing iOS Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.