I did this a couple of years ago to extract all the class method names. You can use NSSelectorFromString () to get SEL from each name.
+ (NSArray *) methodNamesForClass:(Class) aClass { Method *methods; unsigned int methodCount; if (methods = class_copyMethodList(aClass, &methodCount)) { NSMutableArray *results = [NSMutableArray arrayWithCapacity:methodCount]; while (methodCount--) [results addObject:[NSString stringWithCString: sel_getName(method_getName(methods[methodCount])) encoding: NSASCIIStringEncoding]]; free(methods); return results; } return nil; }
source share