Version

@objc(YMAVersion)
@objcMembers
public class Version : NSObject

Version information.

  • Object describing current sdk verision.

    Declaration

    Swift

    @objc(currentVersion)
    public static let current: Version
  • Major version.

    Declaration

    Swift

    public let major: Int
  • Minor version.

    Declaration

    Swift

    public let minor: Int
  • Patch version.

    Declaration

    Swift

    public let patch: Int
  • Prereleased identifiers.

    Declaration

    Swift

    public let prereleaseIdentifiers: [String]
  • Build metadate identifiers.

    Declaration

    Swift

    public let buildMetadataIdentifiers: [String]