ARC circular retain detection

后端 未结 3 887
Happy的楠姐
Happy的楠姐 2020-12-28 21:59

I ported some old code over to Objective-C ARC (Automatic Reference Counting) and it seems to work great. Except a rather large, high-level object is not being deallocated

3条回答
  •  盖世英雄少女心
    2020-12-28 22:31

    X-code 8 introduced the Memory graph debugging tool:

    have a look here for full reference:

    https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/debugging_with_xcode/chapters/special_debugging_workflows.html#//apple_ref/doc/uid/TP40015022-CH9-DontLinkElementID_1

提交回复
热议问题