摘要: 1.readonly表示这个属性是只读的,就是只生成getter方法,不会生成setter方法.2.readwrite,设置可供访问级别3.retain,是说明该属性在赋值的时候,先release之前的值,然后再赋新值给属性,引用再加1。4.nonatomic,非原子性访问,不加同步,多线程并发访问会提高性能。注意,如果不加此属性,则默认是两个访问方法都为原子型事务访问。@property(non... 阅读全文
posted @ 2010-02-24 15:11 AlexLiu 阅读(2633) 评论(4) 推荐(0) 编辑
摘要: Integrating OpenFeint with Cocos2D-iPhone ApplicationsOpenFeint is a service that enables your iPhone/iPod Touch application the ability to provide online score tracking. The service is free and can e... 阅读全文
posted @ 2010-02-24 11:17 AlexLiu 阅读(1725) 评论(1) 推荐(1) 编辑