Created
September 19, 2014 13:36
-
-
Save nevyn/ecab0e814a06eaf7664d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
- (BOOL)canBecomeFirstResponder | |
{ | |
return NO; | |
} | |
- (BOOL)becomeFirstResponder | |
{ | |
return NO; | |
} | |
- (void)makeKeyWindow | |
{ | |
// nop | |
} | |
- (void)makeKeyAndVisible | |
{ | |
// nop | |
} | |
- (UIViewController *)rootViewController | |
{ | |
UIWindow *keyWindow = [UIApplication sharedApplication].keyWindow; | |
NSParameterAssert(keyWindow != self); // Triggers!!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment