Latest 0.0.4
Homepage https://github.com/GG-beyond/XZFLeakMonitor
License MIT ()
Platforms ios 8.0
Authors

image

监听viewController内存泄漏,内存泄漏,pop,dismiss

使用简单

#ifdef DEBUG 

    [[ZFLeakMonitorManager sharedInstance] startWithMonitorView:NO];//是否默认展示监控圆View(NO=默认不展示)

#else

#endif

1、建议大家在DEBUG模式下开启
2、功能先暂时实现,后续会完善,会加入pods库。
3、大家多多提出意见。

项目中的demo,   Two、FourViewController内有block互相引用导致内存泄漏。当页面消失时(pop or dismiss),会去检测内存泄漏。

Latest podspec

{
    "name": "XZFLeakMonitor",
    "version": "0.0.4",
    "summary": "A short description of XZFLeakMonitor.akdjfhajkdfhajdf",
    "description": "u68c0u6d4bUIviewcontroller u5185u5b58u6cc4u6f0fu95eeu9898 pop dismissu662fuff0cdeallocu68c0u6d4bu95eeu9898uff0cu5229u7528viewcontrolleru751fu547du5468u671fu51fdu6570",
    "homepage": "https://github.com/GG-beyond/XZFLeakMonitor",
    "license": "MIT ()",
    "authors": {
        "GG-beyond": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/GG-beyond/XZFLeakMonitor.git",
        "tag": "0.0.2"
    },
    "source_files": "XZFLeakMonitor/XZFLeakMonitor/*.{h,m}",
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This