Last active
August 29, 2015 13:56
-
-
Save objectiveSee/8842468 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | |
{ | |
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | |
if (self) { | |
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_updateNinja) name:kEANotificationBackgroundManagerUpdate object:nil]; | |
} | |
return self; | |
} | |
- (void)_updateNinja | |
{ | |
EALog(@"Ninja happened!"); | |
// [self.view removeFromSuperview]; | |
self.view = nil; | |
self.questionCard = nil; | |
self.cardScrollView = nil; | |
[self view]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment