Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
updated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandasRazma authored Jun 22, 2016
1 parent 6cd6611 commit 1c7ed07
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions RRFPSBar/RRFPSBar.m
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,12 @@ - (void)applicationWillResignActiveNotification {
[_displayLink setPaused:YES];
}

- (void)becomeKeyWindow{//prevent self to be key window
self.hidden = YES;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
self.hidden = NO;
- (void)becomeKeyWindow {
//prevent self to be key window
[self setHidden: YES];

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self setHidden: NO];
});
}

Expand Down

0 comments on commit 1c7ed07

Please sign in to comment.