This document explain how to adapt your application to the new version 2.X of ownCloud Lib. Do not worry, it is too easy! The ownCloud Lib now use AFNetworking 3.0 in order to be used also on the Apple Watch and on the Apple TV. The main change it is that now we make every network operation using NSURLSession instead NSOperation.
The network operations are:
On all those methods you just have to change the NSHTTPURLResponse for NSURLResponse on the response blocks.
Here we have 2 methods for downloads and 2 methods for uploads. One of each one it is for downloades in background and the others are for downloads in foreground.
The main differences are: