xcode 11 warnings
This commit is contained in:
parent
14a06fde09
commit
ad7b54dab8
@ -287,7 +287,6 @@
|
||||
operation.delegate = delegate;
|
||||
operation.completionBlock = completionBlock;
|
||||
[self.presentationQueue addOperation:operation];
|
||||
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
#import "MVMCorePresentViewControllerOperation.h"
|
||||
#import "MVMCoreAlertController.h"
|
||||
#import "MVMCorePresentAnimationOperation.h"
|
||||
#import "MVMCoreDispatchUtility.h"
|
||||
|
||||
@interface MVMCorePresentViewControllerOperation ()
|
||||
|
||||
@ -41,13 +42,14 @@ static void * XXContext = &XXContext;
|
||||
}
|
||||
|
||||
- (void)main {
|
||||
|
||||
// Always check for cancellation before launching the task.
|
||||
if ([self checkAndHandleForCancellation]) {
|
||||
return;
|
||||
}
|
||||
[MVMCoreDispatchUtility performBlockOnMainThread:^{
|
||||
// Always check for cancellation before launching the task.
|
||||
if ([self checkAndHandleForCancellation]) {
|
||||
return;
|
||||
}
|
||||
|
||||
[self present];
|
||||
[self present];
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)present {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user