Ray's playground

 

2010年10月16日

More on Classes(Chapter 7 of Programming in Objective-C 2.0)

摘要: In general, if you have an instance variable called x, including the following line inyour implementation section causes the compiler to automatically synthesize a gettermethod called x and a setter m... 阅读全文

posted @ 2010-10-16 12:11 Ray Z 阅读(177) 评论(0) 推荐(0) 编辑

Making Decisions(Chapter 6 of Programming in Objective-C 2.0)

摘要: This is because the conditionaloperator associates from right to left, meaning that multiple uses of this operatorin a single expression, such as in  e1 ? e2 : e3 ? e4 : e5  group from right to left a... 阅读全文

posted @ 2010-10-16 10:43 Ray Z 阅读(213) 评论(0) 推荐(0) 编辑

导航