nst / RuntimeBrowser

Objective-C Runtime Browser, for Mac OS X and iOS
3.55k stars 510 forks source link

Add support to browse protocols #12

Closed daniel-c closed 9 years ago

daniel-c commented 9 years ago

These changes add support for browsing protocol. This is done as follow:

Note: an undocumented function is used in OS X 10.8 and iOS 6 and above to get detailed parameters types for protocols methods: _protocol_getMethodTypeEncoding. So in many cases, protocols method parameters are displayed with actual types instead of (id).

nst commented 9 years ago

awesome contribution!! thank you very much