-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Storage implementation from Objective-C to Swift #9963
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Size Report 1Affected ProductsTest Logs |
Coverage Report 1Affected Products
Test Logs |
paulb777
force-pushed
the
storage-swift-phase2
branch
2 times, most recently
from
July 25, 2022 21:47
62909cf
to
837e81a
Compare
paulb777
force-pushed
the
storage-swift-phase2
branch
from
August 6, 2022 00:17
837e81a
to
5cd2df1
Compare
paulb777
force-pushed
the
storage-swift-phase2
branch
from
August 17, 2022 14:15
7788dab
to
6724e45
Compare
paulb777
force-pushed
the
storage-swift-phase2
branch
from
August 26, 2022 03:54
898d59d
to
aaa6e91
Compare
paulb777
force-pushed
the
storage-swift-phase2
branch
2 times, most recently
from
September 7, 2022 21:34
0d7a4da
to
6529005
Compare
paulb777
force-pushed
the
storage-swift-phase2
branch
from
September 14, 2022 14:33
6529005
to
4ffaa2b
Compare
paulb777
commented
Sep 16, 2022
ncooke3
approved these changes
Sep 21, 2022
paulb777
force-pushed
the
storage-swift-phase2
branch
from
September 21, 2022 23:33
7d06691
to
3d51280
Compare
ncooke3
reviewed
Sep 22, 2022
open func listAll(completion: @escaping ((_: StorageListResult?, _: Error?) -> Void)) { | ||
impl.listAll { listResult, error in | ||
if error != nil { | ||
open func listAll(completion: @escaping ((_: StorageListResult?, _: NSError?) -> Void)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the NSError here intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Thanks. #10245
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
storage-swift-phase2
is a long-lived branch for migrating the Storage implementation from Objective-C to Swift.Almost all of the changes are a straight port from Objective C to Swift. One exception is the Authorizer code implements a new GTMSessionFetcher protocol to avoid complexity around using
NSInvocation
from Swift required with the old protocol.Key commits: