mirror of https://github.com/opa334/TrollStore.git
10 lines
525 B
Objective-C
10 lines
525 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@interface TSPresentationDelegate : NSObject
|
|
@property (class) UIViewController* presentationViewController;
|
|
@property (class) UIAlertController* activityController;
|
|
+ (void)startActivity:(NSString*)activity withCancelHandler:(void (^)(void))cancelHandler;
|
|
+ (void)startActivity:(NSString*)activity;
|
|
+ (void)stopActivityWithCompletion:(void (^)(void))completion;
|
|
+ (void)presentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void (^)(void))completion;
|
|
@end |