Skip to content

Instantly share code, notes, and snippets.

@darkseed
Created January 10, 2011 02:36
Show Gist options
  • Save darkseed/772267 to your computer and use it in GitHub Desktop.
Save darkseed/772267 to your computer and use it in GitHub Desktop.
ViewDidUnload and Low Memory Warnings
// Code taken from http://intelliobjects.com/ErnieSvehla/?p=123
-(void)viewDidUnload {
self.label1 = nil;
self.label2 = nil;
self.view1 = nil;
self.textView1 = nil;
self.view2 = nil;
[super viewDidUnload];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment