ios if 如果对象不为空多种写法

if (nil != self) 等价于 if (!self) 等价于 if (null != self)
posted @ 2014-07-10 17:33  林一  阅读(89)  评论(0)    收藏  举报