Returns an array of the properties declared by a protocol.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 1.0+
Upon return, contains the number of elements in the returned array.
A C array of pointers of type
objc_property_t describing the properties declared by
proto. Any properties declared by other protocols adopted by this protocol are not included. The array contains
*out pointers followed by a
NULL terminator. You must free the array with
If the protocol declares no properties,
NULL is returned and