OAuthSwift v1.1.0 Release Notes

Release Date: 2016-11-05 // over 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 inlet 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