Skip to content

Swift 3 code review#122

Merged
mattrubin merged 4 commits into
developfrom
swift-3-code-review
Feb 5, 2017
Merged

Swift 3 code review#122
mattrubin merged 4 commits into
developfrom
swift-3-code-review

Conversation

@mattrubin

Copy link
Copy Markdown
Owner

Assorted changes from a review of the Swift 3 update:

  • Use a constant String.Encoding for keychain conversion of token URLs
  • Use Data's withUnsafeBytes instead of casting to NSData
  • Use the Base32 API directly to avoid creating and then bridging NSData
  • Update the OTPToken shim with Swift 3 API conventions

@codecov-io

codecov-io commented Feb 5, 2017

Copy link
Copy Markdown

Codecov Report

Merging #122 into develop will increase coverage by 0.02%.

@@             Coverage Diff             @@
##           develop     #122      +/-   ##
===========================================
+ Coverage     94.7%   94.73%   +0.02%     
===========================================
  Files            6        6              
  Lines          378      380       +2     
===========================================
+ Hits           358      360       +2     
  Misses          20       20
Impacted Files Coverage Δ
Sources/Crypto.swift 100% <100%> (ø)
Sources/Keychain.swift 84.34% <66.66%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23daf7e...596f464. Read the comment docs.

@mattrubin mattrubin merged commit afeb9e9 into develop Feb 5, 2017
@mattrubin mattrubin deleted the swift-3-code-review branch February 5, 2017 03:06
@mattrubin mattrubin modified the milestone: 3.0 Feb 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants