Version
public struct Version : Codable
extension Version: Comparable
extension Version: CustomStringConvertible
                Represents a firmware version made up of a sequence of digits labeled major, minor and micro.
- 
                  
                  
Compares two
Versionobjects to determine if the first is less than the second.Declaration
Swift
public static func < (lhs: Version, rhs: Version) -> BoolParameters
lhsa
Versionobject.rhsan additional
Versionobject.Return Value
trueif the first object’s deemed less than the second;falseotherwise. - 
                  
                  
Declaration
Swift
public var description: String { get } - 
                  
                  
Returns a version object created from a 9 digit string.
Declaration
Swift
public static func version(fromDecimalEncodedString string: String) -> VersionParameters
stringthe string formatted as 9 digits.
Return Value
the
Versionobject created ornilif the format is invalid. 
            View on GitHub
          
      Version Structure Reference