Contents

objc_disposeClassPair(_:)

Destroys a class and its associated metaclass.

Declaration

func objc_disposeClassPair(_ cls: AnyClass)

Parameters

Discussion

Do not call this function if instances of the cls class or any subclass exist.

See Also

Adding Classes