Naming conflict between CryptoSwift's Data.bytes and Foundation's new Data.bytes property #1073
Closed
CrazyFanFan
started this conversation in
General
Replies: 2 comments 1 reply
-
|
Either we can rename the extension, or make it use the new Foundation property directly if it matches enough. It needs diving deeper. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Fixed in #1076. Obviously this is a breaking change though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In
CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift, the extension on Data defines:public var bytes: Array<UInt8>, which conflicts in naming with the newly added property in Foundation:var bytes: RawSpan { get }.Beta Was this translation helpful? Give feedback.
All reactions