Instance Property

identifier

A string that uniquely identifies a context among its siblings.

Declaration

var identifier: String { get }

Discussion

All contexts with a given parent context must have different identifiers. No such requirement exists for contexts that have different parent contexts. So, for example, the chapter-1 and chapter-2 contexts can each have child contexts with the identifier section-1, but chapter-1 can’t have two contexts with that identifier.

See Also

Configuring a Context

var title: String

The name of the context as it appears to users.

var type: CLSContextType

The kind of content a context represents.

enum CLSContextType

The kinds of assignable content a context can contain.

var customTypeName: String?

An optional name that the system presents to the user if you choose the custom context type.