I want to use a selector on an NSObject instance without the need for an implemented protocol. For example, there\'s a category method that should set an error prop
You can also cast the object in question to an id first to avoid the warning:
if ([object respondsToSelector:@selector(myMethod)]) { [(id)object myMethod]; }