Instance Property

mainAppContext

The app’s top-level context.

Declaration

var mainAppContext: CLSContext { get }

Discussion

Every app has exactly one top-level context that acts as the root node in a hierarchy of contexts that you define. Its identifier is the app’s bundle identifier. You can neither create nor destroy this context.

See Also

Accessing Specific Contexts and Activities

var activeContext: CLSContext?

The currently active context.

var runningActivity: CLSActivity?

The currently running activity within the currently active context.

func completeAllAssignedActivities(matching: [String])

Marks all of the assigned and currently active activities for the given context path as complete.