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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software