Objective-C set accessor -


when declare property in objective-c, add synthesize clause accessors

 @interface storemanager ()  @property (nonatomic, copy) nsstring *writestorestimer;   @implementation storemanager  @synthesize writestorestimer 

i use following syntax set value property

 [self setwritestoresmanager:@"data"]; 

is above statement same self.writestorestimer = @"data" ? call set-accessor

yes self. , set uses accessors time dont when within same class , use pointers name


Comments

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -