Possible Duplicate:
what is diff. b/w @property (nonatomic,assign) and @property (nonatomic,retain)
I know it is used to inform the compiler to generate the getters and the setters automatically, But I want to know what role does nonatomic, retain play here ? It would be helpful if anyone gives a clear explanation with an EXAMPLE