Skip to content

Commit 399012a

Browse files
authored
Update README.md
1 parent 0996862 commit 399012a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MLeaksFinder
2-
MLeaksFinder helps you find memory leaks in your iOS apps at develop time. It can automatically find leaks in UIView and UIViewController objects, present alert with the leaked object in its View-ViewController stack when leaks happening. More over, it can try to find a retain cycle for the leaked object. Besides finding leaks in UIView and UIViewController objects, developers can also extend it to find leaks in other kinds of objects.
2+
MLeaksFinder helps you find memory leaks in your iOS apps at develop time. It can automatically find leaks in UIView and UIViewController objects, present alert with the leaked object in its View-ViewController stack when leaks happening. More over, it can try to find a retain cycle for the leaked object using [FBRetainCycleDetector](https://github.com/facebook/FBRetainCycleDetector/tree/master/FBRetainCycleDetector). Besides finding leaks in UIView and UIViewController objects, developers can extend it to find leaks in other kinds of objects.
33

44
# Communication
55
QQ group: 482121244
@@ -23,6 +23,15 @@ Memory Leak
2323

2424
For the above example, we are sure that objects of `MyTableViewController`, `UITableView`, `UITableViewWrapperView` are deallocated successfully, but not the objects of `MyTableViewCell`.
2525

26+
MLeaksFinder can also try to find a retain cycle for the leaked object using FBRetainCycleDetector.
27+
```
28+
Retain Cycle
29+
(
30+
"-> MyTableViewCell ",
31+
"-> _callback -> __NSMallocBlock__ "
32+
)
33+
```
34+
2635
## Mute Assertion
2736
If your class is designed as singleton or for some reason objects of your class should not be dealloced, override `- (BOOL)willDealloc` in your class by returning NO.
2837
```objc

0 commit comments

Comments
 (0)