Need to forward protocol support too. (#2784)

This commit is contained in:
Garrett Moon 2016-12-18 00:36:05 -08:00 committed by appleguy
parent e95a1ca040
commit b1094303b5

View File

@ -39,6 +39,11 @@
return [_target respondsToSelector:aSelector];
}
- (BOOL)conformsToProtocol:(Protocol *)aProtocol
{
return [_target conformsToProtocol:aProtocol];
}
/// Strangely, this method doesn't get forwarded by ObjC.
- (BOOL)isKindOfClass:(Class)aClass
{