12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // KMTools_OC.h
- // PDF Master
- //
- // Created by tangchao on 2023/3/27.
- //
- #import <Foundation/Foundation.h>
- 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 KMTools_OC (Testing)
- + (NSData *)getPDFData;
- @end
- @interface KMPageSizeTool : NSObject
- + (NSString *)conversionWithUnit:(NSString *)unit value:(CGFloat)value;
- @end
- NS_ASSUME_NONNULL_END
|