Int

extension Int: WrapperCompatible
extension Int: AnyCodableModel
extension Int: BasicCodableType
extension Int: JSONSubscriptType

Subscript

  • Undocumented

    Declaration

    Swift

    public var jsonKey: JSONKey { get }

Adaptive+Shortcut

  • 获取相对设计图宽度等比例缩放值

    Declaration

    Swift

    public var relative: CGFloat { get }
  • 获取相对设计图宽度等比例缩放时的固定宽度值

    Declaration

    Swift

    public var fixed: CGFloat { get }
  • 获取基于当前设备的倍数像素取整值

    Declaration

    Swift

    public var flat: CGFloat { get }