摘要: 主要就以下几点:1、nil:一般赋值给空对象;2、NULL:一般赋值给nil之外的其他空值。如SEL等; 举个栗子(好重啊~): [NSApp beginSheet:sheet modalForWindow:mainWindow modalDelegate:nil //pointing to an object didEndSelector:NULL//pointing to a non object/class contextInfo:NULL]; //pointing to a non object/class3、NSNULL:NSNull只有一个方法:+ (NSNull ... 阅读全文
posted @ 2012-10-18 15:45 冷愤僧 阅读(8782) 评论(0) 推荐(0) 编辑