摘要:
版权声明:原创作品,谢绝转载!否则将追究法律责任。尽管Objective-c是一个面向对象的语言,是C语言的超集,这意味着你可以用任何标准的C标量(非对象)像int,float,和char在Objective-c里面。也有一些额外的标量类型在cocoa和cocoaTouch应用像NSIterger,NSUInterger和CGFloat,他们取决去不同的框架会有不同的定义。常量类型一般都是用在不需要对象表达值的时候。在字符串的通常用NSString表示,数值通常存储在本地变量或者属性的标量中。你可能定义一个C风格的数组在Objective-c中,但是在Objective-c有集合用来表示例如N 阅读全文
posted @ 2013-11-15 19:07
人魔七七
阅读(2993)
评论(0)
推荐(0)
摘要:
In iOS 7 and later, if you ask for the MAC address of an iOS device, the system returns the value 02:00:00:00:00:00. If you need to identify the device, use the identifierForVendor property of UIDevice instead. (Apps that need an identifier for their own advertising purposes should consider using th 阅读全文
posted @ 2013-11-15 18:42
人魔七七
阅读(459)
评论(0)
推荐(0)