Function

objc_duplicateClass(_:_:_:)

Used by Foundation's Key-Value Observing.

Declaration

func objc_duplicateClass(_ original: AnyClass, _ name: UnsafePointer<Int8>, _ extraBytes: Int) -> AnyClass

Discussion

Do not call this function yourself.

See Also

Adding Classes

func objc_disposeClassPair(AnyClass)

Destroys a class and its associated metaclass.

func objc_registerClassPair(AnyClass)

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

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