As a test, I created two frameworks. Both frameworks contain this extension:
public extension UIDevice {
var extraInfo: UIDeviceExtraInfo {
return U
Found this on a project where I have CryptoSwift and after that I was already "compiled" a propietary framework without source code only header files.
So in this moment you have 3 options:
extension Data {
public var myBytes: Array {
return Array(self)
}
}
See that now I have to change all the calls of my code to myBytes and that I have the source code to implement this call, so no more collisions even if you cant do 1 or 2 (because to much hasle). If you cant do any of the 3, I guess there is no solution.
BY the way, it is unfortunate that swift doesn't support a way to disambiguate this on the language itself.