Created
July 13, 2014 11:15
-
-
Save jontelang/ff3b87457ff716d8d68f to your computer and use it in GitHub Desktop.
asd
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
- (void)activator:(LAActivator *)activator receiveEvent:(LAEvent *)event | |
{ | |
if( self.hidden ) | |
{ | |
labelReferences = [[NSMutableDictionary alloc] init]; | |
[self makeKeyAndVisible]; | |
[self setAlpha:0]; | |
[self buildToggles]; // Contains animations | |
ANIMATE(0.35f,0.0f) [self setAlpha:1]; AND STOP | |
} | |
else | |
{ | |
[self removeToggles]; // AndWindow | |
} | |
[event setHandled:YES]; | |
} | |
- (void)activator:(LAActivator *)activator receiveDeactivateEvent:(LAEvent *)event | |
{ | |
if( !self.hidden ) | |
{ | |
[self removeToggles]; | |
} | |
[event setHandled:YES]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment