FBRetainCycleDetector icon indicating copy to clipboard operation
FBRetainCycleDetector copied to clipboard

iOS library to help detecting retain cycles in runtime.

Results 43 FBRetainCycleDetector issues
Sort by recently updated
recently updated
newest added

` if (context.info && context.retain) { xxxx }` should modify to ` if (context.info && context.retain) { const char *type = object_getClassName((__bridge id)context.info); if (strcmp(type, "__NSMallocBlock__") || strcmp(type, "__NSGlobalBlock__") ||...

typedef struct { long _unknown; // This is always 1 id target; SEL selector; NSDictionary *userInfo; } _FBNSCFTimerInfoStruct; 这个定义是怎么发现的?

because of class_getIvarLayout only return strong property and weak property's layout info,if we got MRC file in our project,there are many retain property,how can we find these property properly

I noticed _shiftBufferToLowestAddress is executed before _shiftToLowestLexicographically。 But I think the function _shiftToLowestLexicographically can alone guarantee the uniqueness of the shift of the array。 So is there any necessity to...

FBRetainCycleDetector crash Thread 9: EXC_BAD_ACCESS (code=1, address=0x8) ![image](https://user-images.githubusercontent.com/39321929/40093919-d6e73f1e-58f6-11e8-93fa-ef9e2272c66c.png)

I use the 0.1.4 FBRetainCycleDetector, and there is a compile error 'Array has incomplete element type 'struct rcd_rebinding''.

error message is _There should always be a name from before if we hit a struct_

__block variables have been capture by the block,but 'dispose_helper' error , Demo: __weak CDItem *item = [CDItem new]; __block NSInteger index = 10; void (^callblock)(NSString *name) = ^(NSString *name){ item.name...

can not find __block variables have been capture by the block