Skip to content
Permalink
Browse files

Revert "修复实现StoryboardView协议,提前bind导致的Crash"

  • Loading branch information...
devxoul committed Sep 7, 2019
1 parent da0dd96 commit 102c1dc3b46ef8fa5be23560185ed19fa8ad7c56
Showing with 1 addition and 1 deletion.
  1. +1 −1 Sources/ReactorKitRuntime/ReactorKitRuntime.m
@@ -45,7 +45,7 @@ + (void)swizzleViewDidLoad {

IMP newMethodImp = imp_implementationWithBlock(^(__unsafe_unretained id self) {
oldMethodImp(self, oldSelector);
if ([self respondsToSelector:performBindingSelector] && [self class] == class) {
if ([self respondsToSelector:performBindingSelector]) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
[self performSelector:performBindingSelector];

0 comments on commit 102c1dc

Please sign in to comment.
You can’t perform that action at this time.