Skip Navigation
Type MethodMethod

symbolIdentifier(for:)

Returns the identifier of the drawing of a topic type’s icon.

static func symbolIdentifier(for type: String) -> String

Parameters

type

A type name; it is normalised with normalisedType(_:).

Return Value

The identifier, symbolIdentifierPrefix followed by the type name with every character other than ASCII letters and digits replaced by -.