I have a problem with objects not being deallocated.
It would be of great help if I could find out what objects are still referencing the object that should be deallocated.
How can I get such information?
I have a problem with objects not being deallocated.
It would be of great help if I could find out what objects are still referencing the object that should be deallocated.
How can I get such information?
If an object is not getting deallocated it is not because it is 'referenced' by another object, but because someone who had 'ownership' of the object did not 'release' it. This is called a 'memory leak'.
You can find out more by reading the Memory Management Programming Guide. Following the simple rules presented in the guide should help you avoid memory leaks.
For detecting memory leaks you could use Instruments.
I don't know of any app / tool that will show you which objects are referencing a particular object.