8 #import <Foundation/Foundation.h> 9 #import <UIKit/UIImage.h> 22 + (UIImage*)getImageResource:(NSString*)nameWithExt;
25 + (NSBundle *)getBundle;
33 + (NSData*)openRawResource:(NSString*)name;
42 + (NSData*)openRawResource:(NSString*)filename defType:(NSString*)defType;
43 + (NSData*)openRawResource:(NSBundle*)bundle filename:(NSString*)filename defType:(NSString*)defType;
51 + (BOOL)isExistFile:(NSString*)fileName;
59 + (NSString*)readFileAsStream:(NSInputStream*)is;
67 + (NSString*)readFile:(NSString*)sourceFilePath;
78 + (BOOL)writeFile:(NSString*)targetFilePath contents:(NSString*)contents;
86 + (NSString*)readFileFromAssets:(NSString*)sourceFilePath;
95 + (NSDictionary*)readXmlToJSON:(NSInputStream*)is;
105 + (UIImage*)cachedImageFromURL:(NSURL*)url withGroup:(NSString*)groupName;
114 + (void)cachingImageFromURL:(NSURL*)url withGroup:(NSString*)groupName;
122 + (NSArray<NSURL*>*)cachedimageListWithGroup:(NSString*)groupName;
131 + (BOOL)removeCachedImageWithURL:(NSURL*)url withGroup:(NSString*)groupName;
140 + (BOOL)isCachedImage:(NSURL*)url withGroup:(NSString*)groupName;
iOS 리소스 기능 모음 여기서 사용되는 path는 Asset(bundle)을 제외하면, applicationDocumentsDirectory ...
Definition: HIVEResource.h:19