I have an object a1 of class A, I want to find all the objects that hold a strong a reference to the object a1.
Is there a way to do it?
The reason I want to know this is because, a1 doesn't seem to be deallocated.
I have an object a1 of class A, I want to find all the objects that hold a strong a reference to the object a1.
Is there a way to do it?
The reason I want to know this is because, a1 doesn't seem to be deallocated.
Yes, using Instruments.app, you can. Apple has a simple introduction, and if that doesn't help, many others have tutorials for using Instruments as well.
edit - this article looks useful, too.
© 2022 - 2024 — McMap. All rights reserved.