? ? ? ?? ? ?? ? ?? ? ??+(id) numberWithBool : (BOOL) value;
?
? ? ? ? ?? ? ?? ? ??从NSNumber中获取值
?
? ? ? ? ?? ? ?? ? ?? ? ??-(char) charValue; ? ?? ? ??-(int) intValue; ? ? ??-(float) floatValue; ? ?? (BOOL) boolValue; ? ??(NSString *) stringValue;?
?
?
?
? ? ? ? ?? ? ??2、在集合类中是不可以存储nil(空的),因为nil作为nil的结束符,那么我们如何来存储空对象呢?该NSNull出场啦,其功能是把null包装成对象,
?
? ? ? ? ?? ? ?? ? ?? ? ??+(NSNull *) null;