Instance Property

isFocused

A Boolean value that indicates whether the item is currently focused.

Declaration

var isFocused: Bool { get }

Discussion

This is a convenience property that checks whether the item is equal to the value in the UIScreen class’s focusedView property.

See Also

Observing Focus

var canBecomeFocused: Bool

A Boolean value that indicates whether the view is currently capable of being focused.

class var inheritedAnimationDuration: TimeInterval

Returns the inherited duration of the current animation.