I would like to know in what situation did you use -retainCount
so far, and eventually the problems that can happen using it.
Thanks.
Take a look at the Apple documentation on NSObject, it pretty much covers your question: NSObject retainCount
In short, retainCount is probably useless to you unless you've implemented your own reference counting system (and I can almost guarantee you won't have).
In Apple's own words, retainCount is "typically of no value in debugging memory management issues".