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(_:_:_:).