mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-13 18:00:17 +00:00
Need to forward protocol support too. (#2784)
This commit is contained in:
parent
e95a1ca040
commit
b1094303b5
@ -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
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user