Describes the properties declared by a class.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Objective-C Runtime
The class you want to inspect.
On return, contains the length of the returned array. If
NULL, the length is not returned.
An array of pointers of type
objc describing the properties declared by the class. Any properties declared by superclasses are not included. The array contains
*out pointers followed by a
NULL terminator. You must free the array with
cls declares no properties, or