Created
July 21, 2018 23:21
-
-
Save soapyigu/9e96cd8336649c9719769932abc75755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <FBRetainCycleDetector/FBRetainCycleDetector.h> | |
self.block = ^{ | |
NSLog(@"%@", self); | |
}; | |
FBRetainCycleDetector *detector = [FBRetainCycleDetector new]; | |
[detector addCandidate:self]; | |
NSSet *retainCycles = [detector findRetainCycles]; | |
NSLog(@"%@", retainCycles); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment