21 lines
610 B
Objective-C
21 lines
610 B
Objective-C
//
|
|
// GiGaFileNanager.h
|
|
// GIGA
|
|
//
|
|
// Created by lianxiang on 2018/8/22.
|
|
// Copyright © 2018年 com.giga.ios. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
@interface GiGaFileNanager : NSObject
|
|
|
|
+(GiGaFileNanager*)shareInstance;
|
|
- (BOOL)isFileExistWithFilePath:(NSString *)filePath;
|
|
-(NSString *)getFilePathWithImageName:(NSString *)imageName;
|
|
-(void)removeItemAtPath:(NSString *)filePath;
|
|
- (void)saveAdImageWithUrl:(NSString *)imageUrl imageName:(NSString *)imageName success:(void (^)(void))success
|
|
failure:(void (^)(NSError *err))failure;
|
|
|
|
@end
|