Look a the below code;
@interface testViewController : UIViewController
{
int age;
UIPopoverController *popoverController;
}
@property (nonatomic , ret
If you have this:
@property (nonatomic , retain ) UIPopoverController *popoverController;
the methods generated by @synthesize will be something like:
-(UIPopoverController*) popoverController
{
return popoverController;
}
-(void) setPopoverController: (UIPopoverController*) newValue
{
[newValue retain];
[popoverController release];
popoverController = newValue;
}