You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/SignalServiceKit/src/Util/AppReadiness.h

22 lines
337 B
C

//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
//
NS_ASSUME_NONNULL_BEGIN
typedef void (^AppReadyBlock)(void);
@interface AppReadiness : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (BOOL)isAppReady;
+ (void)setAppIsReady;
+ (void)runNowOrWhenAppIsReady:(AppReadyBlock)block;
@end
NS_ASSUME_NONNULL_END