github OAuthSwift/OAuthSwift 1.1.0

latest releases: 2.2.0, 2.1.2, 2.1.1...
7 years ago

In success handler/closure an OAuthSwiftResponse object is now returned instead of multiple objects (data and http response)

oauthswift.client.get("an url",
      success: { response in
           let data = response.data // response.string for utf8 decoded string from data
      },
...

You can extends OAuthSwiftResponse to return a decoded object by reading JSON for instance

You can also get the URLRequest send to the server into this OAuthSwiftResponse object


Backward compatibility with Objective C work with prefixed objc_ functions

Don't miss a new OAuthSwift release

NewReleases is sending notifications on new releases.