I’m reading this text on iOS 5 development, and it says the following:
Delete all the methods except for viewDidUnload. When you’re finished,
your implementation should look like this:
#import "BIDViewController.h" @implementation BIDViewController
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view. // e.g. self.myOutlet = nil;
}
@end
Only, I never had that method. And it says it should automatically adds methods to that method when I link up actions and outlets, but since I had to add it randomly it doesn’t seem to do that.
Because this method is deprecated in iOS 6. See the docs.