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
import UIKit | |
//inner Protocols type | |
protocol Aerodinamic : Equatable{ | |
var coeficient:Float { get set } | |
} | |
extension Aerodinamic { | |
static func ==(lhs: Self, rhs: Self) -> Bool { | |
return lhs.coeficient == rhs.coeficient |