Skip to content

Commit

Permalink
Removed references to progress blocks from README
Browse files Browse the repository at this point in the history
  • Loading branch information
abbeycode committed Oct 10, 2017
1 parent e6f68b1 commit bef2e49
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,12 @@ if (archive.isPasswordProtected) {
```Objective-C
BOOL extractFilesSuccessful = [archive extractFilesTo:@"some/directory"
overWrite:NO
progress:
^(URKFileInfo *currentFile, CGFloat percentArchiveDecompressed) {
NSLog(@"Extracting %@: %f%% complete", currentFile.filename, percentArchiveDecompressed);
}
error:&error];
```
## Extracting a file into memory
```Objective-C
NSData *extractedData = [archive extractDataFromFile:@"a file in the archive.jpg"
progress:^(CGFloat percentDecompressed) {
NSLog(@"Extracting, %f%% complete", percentDecompressed);
}
error:&error];
```

Expand Down

0 comments on commit bef2e49

Please sign in to comment.