Inferis/ViewDeck — Issue #9: Leaking the view
Author: JaviSoto
Created: 2012-01-11 17:18:35+00:00
State: open

It's not really important as this controller lives along with the app, but it can be if you get a memory warning and it gets deallocated. You seem to be leaking the main view:

- (void)loadView
{
_viewAppeared = NO;
self.view = [[UIView alloc] init]; // + 1 + 1
self.centerView = [[UIView alloc] init]; // +1 + 1
[self.view addSubview:self.centerView];

self.originalShadowRadius = 0;
self.originalShadowOpacity = 0;
self.originalShadowColor = nil;
self.originalShadowOffset = CGSizeZero;
self.originalShadowPath = nil;
}

Hope that helps :)