iOS NSNumber语法糖
摘要:
1 BOOL equal; 2 NSNumber * num1 = [NSNumber numberWithInteger:0]; 3 NSNumber * num2 = @0; 4 equal = [num1 isEqualToNumber:num2]; 5 NSLog(@"is equal : 阅读全文
posted @ 2016-05-31 17:06 陌上红尘 阅读(374) 评论(0) 推荐(0) 编辑