Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/106.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 查找保留特定对象的对象_Ios_Xcode_Macos_Instruments - Fatal编程技术网

Ios 查找保留特定对象的对象

Ios 查找保留特定对象的对象,ios,xcode,macos,instruments,Ios,Xcode,Macos,Instruments,如何找到在堆中保存对象的对象?在Instruments(Allocations)中,我可以看到特定对象的引用计数记录的整个历史。但这个记录有大约200个条目,对我来说,在我期望它为0(解除分配)时,在其中定位并找到导致引用计数为1的对象是非常重要的。我认为这在技术上是不可能的,因为“所有者”和保留对象之间没有关系属性

如何找到在堆中保存对象的对象?在Instruments(Allocations)中,我可以看到特定对象的引用计数记录的整个历史。但这个记录有大约200个条目,对我来说,在我期望它为0(解除分配)时,在其中定位并找到导致引用计数为1的对象是非常重要的。

我认为这在技术上是不可能的,因为“所有者”和保留对象之间没有关系属性