本文转载至 http://blog.sina.com.cn/s/blog_a843a8850101ds8j.html (一).关于nil http://cocoadevcentral.com/d/learn_objectivec/ Calling Methods on Nil In Objective-C, the nil object is the functional equivalent to the NULLpointer in many other languages. The d
1.问题: 在dealloc方法中使用[self.xxx release]和[xxx release]的区别? 用Xcode的Analyze分析我的Project,会列出一堆如下的提示:Incorrect decrement of the reference count of an object that is not owned at this point by the caller 仔细看了下代码,都是在dealloc方法中使用了[self.xxx release]这样的语句引起的,把