Skip to content

Commit

Permalink
Stop searching for viewDidLoad after UIViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
sharplet committed Aug 4, 2020
1 parent 6831464 commit 7ecd608
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/CombineViewModelObjC/CombineViewModelObjC.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
break;
}
}

if (klass == _UIViewController) {
*stop = YES;
}
});

if (actual_class != nil) {
Expand Down

0 comments on commit 7ecd608

Please sign in to comment.