mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[PR #527] [MERGED] Version 2.0.0 Use Result type #660
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#660
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/527
Author: @phimage
Created: 6/10/2019
Status: ✅ Merged
Merged: 6/10/2019
Merged by: @phimage
Base:
master← Head:2.0.0📝 Commits (4)
6e568ebUseResulttype with one closure instead of success and failure handlere4f88f4UsecompletionHandlerinstead ofcompletionin function signaturec1104e9Documentation for usingResulttype0ea666eMerge branch 'master' into 2.0.0📊 Changes
19 files changed (+816 additions, -847 deletions)
View changed files
📝
Demo/Common/ViewController.swift(+469 -461)📝
OAuthSwift.podspec(+1 -1)📝
OAuthSwift.xcodeproj/project.pbxproj(+1 -5)📝
OAuthSwift.xcodeproj/xcshareddata/xcschemes/OAuthSwift.xcscheme(+1 -1)📝
OAuthSwift.xcodeproj/xcshareddata/xcschemes/OAuthSwiftMacOS.xcscheme(+1 -1)📝
OAuthSwift.xcodeproj/xcshareddata/xcschemes/OAuthSwiftTVOS.xcscheme(+1 -1)📝
OAuthSwift.xcodeproj/xcshareddata/xcschemes/OAuthSwiftWatchOS.xcscheme(+1 -1)📝
OAuthSwiftTests/OAuth1SwiftTests.swift(+23 -28)📝
OAuthSwiftTests/OAuth2SwiftTests.swift(+16 -20)📝
OAuthSwiftTests/OAuthSwiftRequestTests.swift(+34 -27)📝
OAuthSwiftTests/ServicesTests.swift(+15 -14)📝
README.md(+40 -30)📝
Sources/OAuth1Swift.swift(+77 -59)📝
Sources/OAuth2Swift.swift(+93 -77)📝
Sources/OAuthSwift.swift(+2 -3)📝
Sources/OAuthSwiftClient.swift(+21 -21)📝
Sources/OAuthSwiftError.swift(+7 -4)📝
Sources/OAuthSwiftHTTPRequest.swift(+13 -18)➖
Sources/Objc.swift(+0 -75)📄 Description
This is a breaking change
Instead of two closure (success and failure handler) only one with
ResultTODO
completionorcompletionHandler🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.