Instance Property

isActive

A Boolean indicating whether the context is active.

Declaration

var isActive: Bool { get }

Discussion

Use the becomeActive() method to activate a context, and the resignActive() method to deactivate it.

See Also

Activating and Deactivating a Context

Informing ClassKit That a Task Is About to Begin

Activate and deactivate contexts according to user interaction.

func becomeActive()

Tells a context to become the active context.

func resignActive()

Tells a context to stop being the active context.