1如何将布尔值转为OC对象?
1把 BOOL 值包装到 NSNumber中:
NSNumber *boolNumber = [NSNumber numberWithBool:YES]
2获取BOOL值:
BOOL b = [boolNumber boolValue];
foundation系列
原文:http://www.cnblogs.com/dzq1991/p/6158629.html