Hi, First of all, I want to be clear that I'm not talking about defining a protocol, and that I understand the concept of
@protocol someprotocol
- (void)method;
@end
I know that the Obj-C runtime allows creation of classes at RUNTIME, as well as its ivars and methods. Also available for creation are SEL-s. I think I'm just missing something, but does anyone know what function to call to create a protocol at runtime? The main reason for this is for conformsToProtocol: to work, so just adding the appropriate methods doesn't really cut it.