im a budding iphone developer and i want to know what is the use of the @property (nonatomic, keep) operator with an example, can any body give me any answer?
@property tells Objective-C to generate getters and setters for this member variable when it is @synthesize 'd in the implementation class. The Save parameter says that the generated setter should send a message to save the set value. non- atomic means that the atomicity of obtaining and setting a variable is not guaranteed.
In the "Declared Properties" section of Apple, there are many examples from the Objective-C Programming Language . Definitely worth a read.