A small tool for automatically detecting the [controller memory leak, view memory leak] in the project, Just drag the files under the path of AMLeaksFinder
into the project, the effect is as follows, please be sure to remove the framework when going online, If you are interested, you can talk together.
pod 'AMLeaksFinder', '2.2.8', :configurations => ['Debug']
- If you want to view the reference chain of the controller, import: Facebook's [FBRetainCycleDetector] (https://github.com/facebook/FBRetainCycleDetector) framework.
pod 'FBRetainCycleDetector', :git => 'https://github.com/facebook/FBRetainCycleDetector.git', :branch => 'main', :configurations => ['Debug']