Skip to content

Instantly share code, notes, and snippets.

@zorn
Created November 11, 2011 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zorn/1359052 to your computer and use it in GitHub Desktop.
Save zorn/1359052 to your computer and use it in GitHub Desktop.
From iCloud Core Data sample code from Apple.
// From iCloud Core Data sample code from Apple.
// https://devforums.apple.com/thread/126670
- (void)dealloc {
[managedObjectContext__ release];
[managedObjectContext__ release];
[managedObjectContext__ release];
[recipeListController release];
[tabBarController release];
[window release];
[super dealloc];
}
@soffes
Copy link

soffes commented Nov 11, 2011

Three times. Just to be sure.

@haikusw
Copy link

haikusw commented Nov 11, 2011

classic!

@mattbischoff
Copy link

Don't remind me about this sample code. I've been banging my head against it for months.

@soffes
Copy link

soffes commented Jan 18, 2012

Did Google help you find this silliness? :)

@mattbischoff
Copy link

Indeed it did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment