Here is my code Class.h
@interface Class : NSObject
{
NSString *str;
}
@property (nonatomic, copy) NSString *str;
@end
@implementation Class
@synthesize str = _str;
-(void)someMethod
{
self.str = @"This is a string";
}
Here I can't figure out does self.str access str ivar directly or by getter and setter methods "generated" by synthesize directive ?