26 lines
765 B
Objective-C
26 lines
765 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
typedef NS_ENUM(NSInteger, MWMOpenGLDriver) {
|
|
MWMOpenGLDriverRegular,
|
|
MWMOpenGLDriverMetalPre103, // iOS 10..10.3
|
|
MWMOpenGLDriverMetal
|
|
};
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface AppInfo : NSObject
|
|
|
|
+ (instancetype)sharedInfo;
|
|
- (instancetype)init __attribute__((unavailable("init is not available")));
|
|
|
|
@property(nonatomic, readonly) NSString * bundleVersion;
|
|
@property(nonatomic, readonly) NSString * buildNumber;
|
|
@property(nonatomic, readonly) NSString * languageId;
|
|
@property(nonatomic, readonly) NSString * twoLetterLanguageId;
|
|
@property(nonatomic, readonly) NSString * deviceModel;
|
|
@property(nonatomic, readonly) MWMOpenGLDriver openGLDriver;
|
|
@property(nonatomic, readonly) BOOL canMakeCalls;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|