retain count in iphone

前端 未结 3 1800
小蘑菇
小蘑菇 2021-01-24 04:15

I have used [anArray retainCount] to get the retain count of array..(i know this should not be used but i am using just for learning retain concept)

Follow

3条回答
  •  情深已故
    2021-01-24 04:34

    The documentation states that the retain count is unlikely to provide any useful information. It is NOT a good way to learn about retain and release concepts.

提交回复
热议问题