// // KMTools_OC.h // PDF Master // // Created by tangchao on 2023/3/27. // #import typedef NS_ENUM(NSUInteger, KMAppTarget) { KMAppTargetFree = 0, KMAppTargetPro = 1, KMAppTargetDMG = 2 }; NS_ASSUME_NONNULL_BEGIN @interface KMTools_OC : NSObject + (BOOL)isDefaultRoleHandlerForContentType:(NSString*)fileExtension; + (BOOL) setPreviewAsDefaultApplicationForFileExtension:(NSString *) fileExtension; + (BOOL)setMyselfAsDefaultApplicationForFileExtension:(NSString *) fileExtension; + (KMAppTarget)getAppTarget; @end @interface KMPageSizeTool : NSObject + (NSString *)conversionWithUnit:(NSString *)unit value:(CGFloat)value; @end NS_ASSUME_NONNULL_END