I would like to know in what situation did you use -retainCount so far, and eventually the problems that can happen using it.
-retainCount
Thanks.
The examples used in Dave's post are NSNumber and NSStrings...so, if you use some other classes, such as UIViews, I'm sure you will get the correct answer(The retain count depends on the implementation, and it's predictable).