Instance Property

customTypeName

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

Declaration

var customTypeName: String? { get set }

Discussion

The system ignores the value of this property unless you set the context’s type property to CLSContextType.custom. If you do set the type name, provide a localized value.

If you use a custom context type but don’t set the type name, the system presents a default, localized string instead.

See Also

Configuring a Context

var title: String

The name of the context as it appears to users.

var identifier: String

A string that uniquely identifies a context among its siblings.

var type: CLSContextType

The kind of content a context represents.

enum CLSContextType

The kinds of assignable content a context can contain.