Obtain details of categories on a class at runtime?
问题 In Objective-C, is there a way to list the categories on a particular class at runtime? With the Objective-C runtime functions I can obtain details for the class and instance methods, class hierarchy, instance variables, etc. but seemingly not the category information. Looking at F-Script, I see that it doesn't display category information (indeed, it appears not to display methods from categories at all). On the other hand, class-dump extracts category information but this is from the binary