¡@

Home 

2014/10/15 ¤U¤È 10:11:29

iphone Programming Glossary: mname

Difference between class property mVar and instance variable self.mVar

http://stackoverflow.com/questions/2278389/difference-between-class-property-mvar-and-instance-variable-self-mvar

by name when working inside the class . For instance take this class In .h file @interface Register NSObject NSString mName id initWithName NSString name In .m file id initWithName NSString name if self super init mName name return self What's.. NSObject NSString mName id initWithName NSString name In .m file id initWithName NSString name if self super init mName name return self What's the difference between accessing the instance variable via self.mName name vs mName name Which isn't.. name if self super init mName name return self What's the difference between accessing the instance variable via self.mName name vs mName name Which isn't a @property and is not @sythenize'd. Say it is this though per this example In .h file @interface..