Commit 4b12daab authored by Jake Welton's avatar Jake Welton

Add information about custom file extensions

parent 4bb6951b
......@@ -51,6 +51,13 @@ catch {
}
```
## Custom File Extensions
Before unzipping files, the source path is checked to make sure the file type is valid (e.g. the file is a .zip). If the file is not valid then we throw an error, however we understand that there might be some file types you wish to accept, even though it might not exist by default in the supported extensions list. As a result you can add custom file extensions to the list of accepted extensions.
```
Zip.addCustomFileExtension("file-extension-here")
```
### Setting up with Carthage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment