¡@

Home 

2014/10/15 ¤U¤È 10:04:22

iphone Programming Glossary: avar

Difference between @interface declaration and @property declaration

http://stackoverflow.com/questions/2159725/difference-between-interface-declaration-and-property-declaration

to be visible to all methods in a class into the @interface class definition eg @interface myclass UIImageView int aVar and then I declare it again as @property int aVar And then later I @synthesize aVar Can you help me understand the purpose.. @interface class definition eg @interface myclass UIImageView int aVar and then I declare it again as @property int aVar And then later I @synthesize aVar Can you help me understand the purpose of three steps Am I doing something unnecessary.. @interface myclass UIImageView int aVar and then I declare it again as @property int aVar And then later I @synthesize aVar Can you help me understand the purpose of three steps Am I doing something unnecessary Thanks. objective c iphone properties..