lonelysoul

Happy share, happy life.

导航

2014年2月25日 #

Objective-C语法简化

摘要: NSNumber类型老写法: NSNumber *number; number = [NSNumber numberWithChar:'X']; number = [NSNumber numberWithInt:12345]; number = [NSNumber numberWithUnsignedLong:12345ul]; number = [NSNumber numberWithLongLong:12345ll]; number = [NSNumber numberWithFloat:123.45f]; number = [NSNumber n... 阅读全文

posted @ 2014-02-25 18:27 lonelysoul 阅读(202) 评论(0) 推荐(0) 编辑