CLSContext
An area of your app that represents an assignable task, like a quiz or a chapter.
Declaration
class CLSContextMentioned in
Overview
Make it easy for teachers to understand the app content a context represents by configuring it with information like a clear, concise title localized for the regions that your app supports.
A context can contain groups of other contexts, like a book that contains chapters or a chapter that contains sections. You can assemble contexts into a hierarchy of up to eight levels that acts as a table of contents for teachers who want to assign your app content. See Advertising your app’s assignable content for more details.
Topics
Creating contexts
Identifying the context
Managing the context type
Characterizing the context
Managing context presentation
Indicating progress reporting capabilities
progressReportingCapabilitiesaddProgressReportingCapabilities(_:)resetProgressReportingCapabilities()CLSProgressReportingCapability
Activating and deactivating a context
Creating activities
Managing context hierarchy
identifierPathparentremoveFromParent()addChildContext(_:)descendant(matchingIdentifierPath:completion:)