What is the relationship between accessing a property through "propertyname" and "self.propertyname" in objective-c? Can you answer in response:
The scenario assumption may be based on the following:
Header file
@interface AppointmentListController : UITableViewController { UIFont *uiFont; } @property (nonatomic, retain) UIFont *uiFont;
Implementation
- (void)viewDidLoad { [super viewDidLoad]; uiFont = [UIFont systemFontOfSize:14.0]; //VERSUS self.uiFont = [UIFont systemFontOfSize:14.0];
thank
propertyname . ; .
propertyname
self.propertyname . @synthesize, , @property (, , retain, self.propertyname), , .
self.propertyname
@synthesize
@property
retain
. , , @property @synthesize , self.propertyname, . (.. @property @synthesize).
. iPhone, Cocoa Touch . Cocoa, :
. KVC - , Cocoa, . . KVC , , .
, , var = value, Key-Value Observing , .