[
https://issues.apache.org/jira/browse/CMIS-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243961#comment-14243961
]
Gavin Cornwell commented on CMIS-874:
-------------------------------------
Second part committed in revision 1644858.
The most appropriate task is now used for the request i.e. if a filePath is
provided a NSURLSessionDownloadTask is used, uploads are now always done using
an NSURLSessionUploadTask and all other requests use NSURLSessionDataTask.
Support for background sessions is going to need some further re-factoring so
that will follow in another commit.
> Switch to NSURLSession for networking
> -------------------------------------
>
> Key: CMIS-874
> URL: https://issues.apache.org/jira/browse/CMIS-874
> Project: Chemistry
> Issue Type: Improvement
> Components: objectivecmis
> Affects Versions: ObjectiveCMIS 0.4
> Reporter: Gavin Cornwell
> Assignee: Gavin Cornwell
> Fix For: ObjectiveCMIS 0.5
>
>
> Currently the ObjectiveCMIS library uses NSURLConnection for all networking
> activity. This set of classes have now been superseded by NSURLSession.
> NSURLSession adds support for background network activity and is also a
> requirement for any apps that wish to include an iOS 8 document provider
> extension.
> As network calls are centralised this should be fairly straight forward and a
> backwards compatible change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)