Describes the instance variables declared by a class.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
The class to inspect.
On return, contains the length of the returned array. If
NULL, the length is not returned.
An array of pointers of type Ivar describing the instance variables declared by the class. Any instance variables declared by superclasses are not included. The array contains
*out pointers followed by a
NULL terminator. You must free the array with
If the class declares no instance variables, or
NULL is returned and