Function

objc_registerClassPair(_:)

Registers a class that was allocated using objc_allocateClassPair(_:_:_:).

Declaration

func objc_registerClassPair(_ cls: AnyClass)

Parameters

cls

The class you want to register.

See Also

Adding Classes

func objc_disposeClassPair(AnyClass)

Destroys a class and its associated metaclass.

func objc_duplicateClass(AnyClass, UnsafePointer<Int8>, Int)

Used by Foundation's Key-Value Observing.