nil发一个不存在的消息不报错,但是NSNull是一个对象,发不存在的消息会crash
nil指的是一个oc类型的指针 a null pointer to an oc object;
Nil A null pointer to an oc class
NULL,A null pointer to anything else ,is for c style memory pointers
NSNull常用在不能使用nil集合中
nil指的是一个oc类型的指针 a null pointer to an oc object;
Nil A null pointer to an oc class
NULL,A null pointer to anything else ,is for c style memory pointers
NSNull常用在不能使用nil集合中