Skip to content

Commit

Permalink
Corrected sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
abbeycode committed Dec 9, 2014
1 parent 56c1a54 commit 4cc74da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ URKArchive *archive = [URKArchive rarArchiveAtPath:@"An Archive.rar"];
NSError *error = nil;

NSArray *filesInArchive = [archive listFiles:&error];
BOOL extractFilesSuccessful = [archive extractFilesTo:extractURL.path
BOOL extractFilesSuccessful = [archive extractFilesTo:@"some/directory"
overWrite:NO
error:&error];
NSData *extractedData = [archive extractDataFromFile:@"a file in the archive.jpg"
Expand Down

0 comments on commit 4cc74da

Please sign in to comment.