3 回答

TA贡献1829条经验 获得超13个赞
nil

TA贡献1847条经验 获得超7个赞
可可有几种模式利用了这一事实。
从消息返回到零的值也可能是有效的:
nil
- (void)setValue:(MyClass *)newValue { if (value != newValue) { [value release]; value = [newValue retain]; }}
nil
value
newValue
nil
nil
if ([myArray count] > 0) { // do something...}
nil
nil
nil
.
- 3 回答
- 0 关注
- 367 浏览
添加回答
举报