Skip to content

Commit d5a6857

Browse files
author
Paul Colton
committed
Merge branch 'master' of github.com:Pixate/pixate-freestyle-ios
2 parents 7779866 + 292539c commit d5a6857

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Core/Styling/Utils/PXProxy.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ - (BOOL)respondsToSelector:(SEL)aSelector
8383
return NO;
8484
}
8585

86+
- (BOOL)conformsToProtocol:(Protocol *)aProtocol {
87+
if ([self.overridingObject conformsToProtocol:aProtocol]) return YES;
88+
if ([self.baseObject conformsToProtocol:aProtocol]) return YES;
89+
return NO;
90+
}
91+
8692
#pragma mark - hash and equality
8793

8894
/// make sure we look like the original object

0 commit comments

Comments
 (0)