123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- typedef enum : NSUInteger {
- KMRecommondShowType_None,
- KMRecommondShowType_All,
- KMRecommondShowType_Pro,
- KMRecommondShowType_Lite,
- } KMRecommondShowType;
- @class KMRecommondInfo;
- @interface KMRecommond : NSObject
- - (id)initWithDict:(NSDictionary *)dict;
- @property (nonatomic, strong) NSString *versionKey;
- @property (nonatomic, strong) NSString *name;
- @property (nonatomic, strong, readonly) NSMutableArray <KMRecommondInfo *> *recommondInfoArrM;
- @end
- @interface KMRecommondInfo : NSObject
- + (NSString *)languageKey;
- + (NSString *)cacheDirs;
- + (BOOL)isDarkMode;
- - (id)initWithDict:(NSDictionary *)dict;
- - (void)updateValue:(NSString *)value forKey:(NSString *)key;
- @property (nonatomic, assign) BOOL show;
- @property (nonatomic, assign) KMRecommondShowType showType;
- @property (nonatomic, strong) NSDate *startDate;
- @property (nonatomic, strong) NSDate *endDate;
- @property (nonatomic, strong) NSString *versionKey;
- @property (nonatomic, assign) BOOL showCloseBtn;
- @property (nonatomic, strong) NSImage *normalImage;
- @property (nonatomic, strong) NSImage *hoverImage;
- @property (nonatomic, strong) NSImage *iconImage;
- @property (nonatomic, strong) NSString *title;
- @property (nonatomic, strong) NSString *tooltips;
- @property (nonatomic, strong) NSString *linkURL;
- @property (nonatomic, strong) NSString *firebaseEvent;
- @property (nonatomic, strong) NSString *firebasePropertyKey;
- @property (nonatomic, strong) NSString *firebasePropertyValue;
- @end
- NS_ASSUME_NONNULL_END
|