Skip to content

Commit e7410a6

Browse files
committed
Updated readme to give guidance on installation
1 parent 1ae9b48 commit e7410a6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ It provides the following over Objective-Zip:
1212
* Full documentation for all methods
1313
* Pervasive use of `NSError`, instead of throwing exceptions
1414

15+
# Installation
16+
17+
UnzipKit supports both [CocoaPods](https://cocoapods.org/) and [Carthage](https://github.com/Carthage/Carthage). CocoaPods does not support dynamic framework targets (as of v0.39.0), so in that case, please use Carthage.
18+
19+
Cartfile:
20+
21+
github "abbeycode/UnzipKit"
22+
23+
Podfile:
24+
25+
pod "UnzipKit"
26+
1527
# Deleting files
1628

1729
Using the method `-deleteFile:error:` currently creates a new copy of the archive in a temporary location, without the deleted file, then replaces the original archive. By default, all methods to write data perform a delete on the file name they write before archiving the new data. You can turn this off by calling the overload with an `overwrite` argument, setting it to `NO`. This will not remove the original copy of that file, though, causing the archive to grow with each write of the same file name.

0 commit comments

Comments
 (0)