Contents

objc_copyClassNamesForImage(_:_:)

Returns the names of all the classes within a specified library or framework.

Declaration

func objc_copyClassNamesForImage(_ image: UnsafePointer<CChar>, _ outCount: UnsafeMutablePointer<UInt32>?) -> UnsafeMutablePointer<UnsafePointer<CChar>>?

Parameters

  • image:

    The library or framework you are inquiring about.

  • outCount:

    The number of class names in the returned array.

Return Value

An array of C strings representing all of the class names within the specified library or framework.

See Also

Working with Libraries