no message
This commit is contained in:
1 parent
de5bd21a43
commit
568ad5c409
262 files changed
+23226
-78
No files matched your search
+57
@@ -0,0 +1,57 @@
|
||||
### PEAR-FileManager-iOS [](https://github.com/HirokiUmatani/PEAR-FileManager-iOS/LICENSE) [](https://cocoapods.org/pods/PEAR-FileManager-iOS) [](https://cocoapods.org/pods/PEAR-FileManager-iOS)
|
||||
|
||||
====
|
||||
### Overview
|
||||
This is the ios library to manipulate directories and files in application.
|
||||
|
||||
### Installation
|
||||
<code>
|
||||
pod 'PEAR-FileManager-iOS'
|
||||
</code>
|
||||
|
||||
### Usage
|
||||
|
||||
##### initial
|
||||
```
|
||||
PEARFileManager *fileManager = [PEARFileManager sharedInstatnce];
|
||||
fileManager.rootDir = k_ROOT_DIR_LIBRARY;
|
||||
|
||||
```
|
||||
##### Create
|
||||
```
|
||||
[fileManager createDirectory:DIR_PATH permisson:PERMISSION];
|
||||
|
||||
```
|
||||
```
|
||||
[fileManager createFileWithData:pearImageData
|
||||
filePath:[fileManager joinFileName:FILE_NAME inDirPath:DIR_PATH]
|
||||
permisson:PERMISSION];
|
||||
|
||||
|
||||
```
|
||||
##### Copy
|
||||
```
|
||||
[fileManager copyFrompath:[fileManager joinFileName:FILE_NAME inDirPath:DIR_PATH]
|
||||
toPath:[fileManager joinFileName:COPY_FILE_NAME inDirPath:DIR_PATH]];
|
||||
|
||||
```
|
||||
##### Move
|
||||
```
|
||||
[fileManager moveFromPath:DIR_PATH
|
||||
toPath:MOVE_DIR_PATH];
|
||||
|
||||
```
|
||||
##### Delete
|
||||
```
|
||||
[fileManager deletePath:[fileManager joinFileName:FILE_NAME inDirPath:DIR_PATH]];
|
||||
|
||||
```
|
||||
|
||||
### Documents
|
||||
[library document](http://cocoadocs.org/docsets/PEAR-FileManager-iOS)
|
||||
|
||||
### Licence
|
||||
[MIT](https://github.com/HirokiUmatani/PEAR-FileManager-iOS/blob/master/LICENSE)
|
||||
|
||||
### Author
|
||||
[Hiroki Umatani](https://github.com/HirokiUmatani)
|
||||
Reference in new issue
Block a user