Does anybody know how can I check the retain count of an object while in debug mode? I have tried to add an expression [objInstance retainCount] but it did not work. I have also tried the print object PO [objInstance retainCount] in the console but again it did not work.
Does anybody know how can I check the retain count of an object while
Share
I am guessing you are talking about getting the
retainCountinGDB?You can use the
retainCountmethod.This is how I get in my Code.
Hope this is what you are looking for.