简单类型 / 布尔
从字符串转换
转换为字符串
获取值
逻辑运算
bool
sunIsStar =
true
;
NSString
*str = sunIsStar ?
@"true"
:
@"false"
;
//str is "true"