UAAttributesEditor

@objc
public class UAAttributesEditor : 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.

  • Applies the attribute changes.

    Declaration

    Swift

    @objc
    public func apply()