title: Get all methods of an Objective-C class or instance
body: <p>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 or properties)?</p>