Returns an array of all the protocols known to the runtime.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
- Objective-C Runtime
Upon return, contains the number of protocols in the returned array.
A C array of all the protocols known to the runtime. The array contains
*out pointers followed by a
NULL terminator. You must free the list with
This function acquires the runtime lock.