I had used the following code
- (void)viewDidLoad {
[super viewDidLoad];
NSString *string=@"String";
self.strongStr=string;
self.weakStr=string;
self.strongStr=nil;
NSLog(@"%@",self.weakStr);}
On running the value for weak string should be nil but its printing "String". I Please need a working example with Prniting values so that I can know what is happening with the strong and weak refrences