Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove use of PGDelayedPerforming in PGActivityPanelController.

  • Loading branch information...
commit d506b5874fd9c3c3eed03cdbeed8470445814906 1 parent 97378e5
@btrask authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  PGActivityPanelController.m
View
3  PGActivityPanelController.m
@@ -31,7 +31,6 @@
#import "PGProgressIndicatorCell.h"
// Other Sources
-#import "PGDelayedPerforming.h"
#import "PGFoundationAdditions.h"
#import "PGGeometry.h"
@@ -75,7 +74,7 @@ - (NSString *)nibName
}
- (void)windowWillShow
{
- _updateTimer = [[self PG_performSelector:@selector(_update) withObject:nil fireDate:nil interval:1.0f options:PGRetainTarget | PGRepeatOnInterval] retain];
+ _updateTimer = [[NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(_update) userInfo:nil repeats:YES] retain];
[self _update];
}
- (void)windowWillClose
Please sign in to comment.
Something went wrong with that request. Please try again.