In viewDidUnload where I do set the IBOutlets to nil, I also set the NSString objects to nil. These which were (nonatomic,strong). Does it make sense at all to set NSString objects to nil?
In viewDidUnload where I do set the IBOutlets to nil, I also set the
Share
-viewDidUnloadis meant only for releasing objects that are created in-viewDidLoador-loadView, including IBOutlets.If you do not allocate these strings in
-loadViewor-viewDidLoadthen it is wrong to release them in-viewDidUnload.