Functions

The following functions are available globally.

  • Split a composite entitlements version in to its user entitlements version and entitlements set version components.

    Throws

    Throws SudoEntitlementsError.invalidArgument: If the version is negative or has precision greater than Constants.entitlementsSetVersionScalingFactor allows

    Declaration

    Swift

    public func splitUserEntitlementsVersion(version: Double) throws -> (Int, Int)

    Parameters

    version

    Version from a UserEntitlements or EntitlementsSet

    Return Value

    A tuple of the user entitlements version and entitlement set version.