Describes the instance methods implemented by a class.
Mac Catalyst 13.0+
The class you want to inspect.
On return, contains the length of the returned array. If outCount is NULL, the length is not returned.
An array of pointers of type Method describing the instance methods implemented by the class—any instance methods implemented by superclasses are not included. The array contains *outCount pointers followed by a NULL terminator. You must free the array with free().
If cls implements no instance methods, or cls is Nil, returns NULL and *outCount is 0.
To get the class methods of a class, use class_copyMethodList(object_getClass(cls), &count).