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

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -