FloatValue

final public class FloatValue : Object, ExpressibleByFloatLiteral, ListSupportedValue
extension FloatValue: Decodable
extension FloatValue: Encodable

Wrapper type for float values that needs to be stored locally in the device

  • Float value for the wrapper

    Declaration

    Swift

    @objc
    public dynamic var value: Float
  • Constructor for the ExpressibleByFloatLiteral protocol

    Declaration

    Swift

    public convenience required init(floatLiteral value: Float)
  • Constructor that takes a float value to wrap

    Declaration

    Swift

    public convenience init(_ value: Float)
  • Undocumented

    Declaration

    Swift

    public override var hash: Int { get }
  • Undocumented

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool
  • Declaration

    Swift

    public convenience init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws