Possible Duplicate:
Atomic vs nonatomic properties
I am getting issues (errors) if I use @property(atomic,retain)NSString *myString like Expected a property attribute before “atomic”.
I studied the difference between atomic and nonatomic from Stack Overflow question What’s the difference between the atomic and nonatomic attributes?.
Where do I use atomic and nonatomic?
Note that you cannot use the attribute
atomic. There is either non-atomic or none (atomic is the default case). So you are looking for@property(retain) NSString *myString;.