AttributesEditor

@objc(UAAttributesEditor)
public final class AttributesEditor : NSObject

Attributes editor.

  • Removes an attribute.

    Declaration

    Swift

    @objc(removeAttribute:)
    public func remove(_ attribute: String)

    Parameters

    attribute

    The attribute.

  • Sets the attribute.

    Declaration

    Swift

    @objc(setDate:attribute:)
    public func set(date: Date, attribute: String)

    Parameters

    date

    The value

    attribute

    The attribute

  • Sets the attribute.

    Declaration

    Swift

    @objc(setNumber:attribute:)
    public func set(number: NSNumber, attribute: String)

    Parameters

    number

    The value.

    attribute

    The attribute.

  • Sets the attribute.

    Declaration

    Swift

    @objc(setString:attribute:)
    public func set(string: String, attribute: String)

    Parameters

    string

    The value.

    attribute

    The attribute.

  • Sets the attribute.

    Declaration

    Swift

    public func set(float: Float, attribute: String)

    Parameters

    float

    The value.

    attribute

    The attribute.

  • Sets the attribute.

    Declaration

    Swift

    public func set(double: Double, attribute: String)

    Parameters

    double

    The value.

    attribute

    The attribute.

  • Sets the attribute.

    Declaration

    Swift

    public func set(int: Int, attribute: String)

    Parameters

    int

    The value.

    attribute

    The attribute.

  • Sets the attribute.

    Declaration

    Swift

    public func set(uint: UInt, attribute: String)

    Parameters

    uint

    The value.

    attribute

    The attribute.

  • Applies the attribute changes.

    Declaration

    Swift

    @objc
    public func apply()