Quantcast
Channel: Get all methods of an Objective-C class or instance - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by Borys Verebskyi for Get all methods of an Objective-C class or...

In addition to Buzzy's answer, for debugging purposes you may use the -[NSObject _methodDescription] private method.Either in lldb:(lldb) po [[UIApplication sharedApplication] _methodDescription]or in...

View Article



Answer by Buzzy for Get all methods of an Objective-C class or instance

You can do this and it is extremely well documented at https://developer.apple.com/library/mac/documentation/cocoa/Reference/ObjCRuntimeRef/index.htmlTo fetch all the instance or class methods of a...

View Article

Answer by Ben Gottlieb for Get all methods of an Objective-C class or instance

You'll want to use the Objective C runtime methods, see here: https://developer.apple.com/reference/objectivec/objective_c_runtime

View Article

Answer by user250120 for Get all methods of an Objective-C class or instance

This is possible via objc_method_list. In order to enumerate your methods, you will have to register all your methods before hand. The process is straight forward: after you've declared your function...

View Article

Get all methods of an Objective-C class or instance

In Objective-C I can test whether a given class or instance responds to certain selectors. But how can query a class or instance for all its methods or properties of a class (e.g. a list of all methods...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images