Instance Method

resignActive()

Tells a context to stop being the active context.

Declaration

func resignActive()

Discussion

Only one context can be active at a time, so the framework automatically calls this method for you if you activate another context.

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.

var isActive: Bool

A Boolean indicating whether the context is active.