Ray's playground

 

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 in your implementation section causes the compiler to automatically synthesize a getter method called x and a setter method called setX:.
  @synthesize x;

 

posted on 2010-10-16 12:11  Ray Z  阅读(184)  评论(0)    收藏  举报

导航