ApiVersion

public class ApiVersion : LuaWrapper

API version.

  • A major component of an API version.

    major increases each time breaking changes happen in the documented part of the API. It does not matter such changes are small or huge.

    Declaration

    Swift

    public let major: Int
  • A minor component of an API version.

    The API is said to be backwards-compatible if only the minor component of the version is increased.

    Declaration

    Swift

    public let minor: Int