Contents

accessibilityIsAttributeSettable(_:)

Returns a Boolean value that indicates whether the value for the specified attribute in the receiver can be set.

Declaration

func accessibilityIsAttributeSettable(_ attribute: NSAccessibility.Attribute) -> Bool

Parameters

  • attribute:

    The name of the attribute. See Nsaccessibility constants for lists of attribute names.

Return Value

YES if the specified attribute can be set; otherwise, NO.

Discussion

User interface classes must implement this method. Subclasses should invoke the superclass’s implementation, if it exists, if attribute is not implemented in the subclass.

See Also

Deprecated Methods