• Stars
    star
    309
  • Rank 135,306 (Top 3 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 11 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A very useful library for Unarchiving the .zip, .rar, .7z files for iOS. Block based integration of UnrarKit + SSZipArchive + LzmaSDKObjC (7z).

SARUnArchiveANY

A very useful library for Unarchiving the .zip, .rar, .7z files for iOS.

Simply An Integration of the following libraries :

* UnrarKit
* SSZipArchive
* LzmaSDKObjC (7z)

Pros:

	* Integration of the most popular archiving libraries, no need for integrating each library separately.
	* Completely Block-based syntax. No Delegation pattern, hence avoiding a lot of clunky codes.
	* UnArchive Password protected files.

* Example project illustrates on how to display your app in "Open in" action sheet list, when tapped on any of the archive file of the supported format (zip, rar, 7z) in any apps installed on the device/simulator.
* Example illustrates on how to make the app support for iTunes File Sharing.


Cons:

	* Have tested this only with smaller files. Might not suit well for files with larger 
	  sizes ( May be files > 500MB's ).

Installation :
Add the following to your CocoaPods Podfile

pod 'SARUnArchiveANY'

or clone as a git submodule,

or any way you'd prefer to play with ;)

Usage :

SARUnArchiveANY *unarchive = [[SARUnArchiveANY alloc]initWithPath:filePath];
unarchive.destinationPath = destPath;//(Optional). If it is not given, then the file is unarchived in the same location of its archive file.
unarchive.completionBlock = ^(NSArray *filePaths){
  NSLog(@"For Archive : %@",filePath);
	for (NSString *filename in filePaths) {
		NSLog(@"File: %@", filename);
	}
};
unarchive.failureBlock = ^(){
};
[unarchive decompress];


πŸ‘¨πŸ»β€πŸ’» Author

  • Saravanan alt text

Buy me a coffee/beer

More Repositories

1

SparkButtonDemo

Demonstrates the Like button animation.
Swift
215
star
2

Musicly

React Native app/version of Noisli's core functionality!
JavaScript
53
star
3

SARMaterialDesignSpinner

Inspired from Google's Material Design Spinner
Swift
22
star
4

SARAddressBookBackup

An iOS library to take backup of the device contacts as .vcf file
Objective-C
16
star
5

MyCategories

Adding the Categories anything that i use (Not maintained)
Objective-C
15
star
6

SwiftUIResumeApp

A Resume app created during the learning process of SwiftUI
Swift
7
star
7

Bookstore

REST API with NodeJS, ExpressJS, MongoDB
JavaScript
5
star
8

Musicly_Flutter

Flutter app/version of Noisli's core functionality!
C++
3
star
9

PlainLoaderViewDemo

Demonstrates the PlainLoaderView animation.
Swift
3
star
10

saru

2
star
11

CordovaSampleWebApp

CordovaSampleWebApp
JavaScript
2
star
12

saru2020

2
star
13

saravanan-vijayakumar-movies

TypeScript
2
star
14

InventoryOptimizer

This project provides an inventory optimization tool that uses synthetic data and applies demand forecasting, inventory classification, safety stock calculation, and other inventory management techniques using AI/ML!
Python
1
star
15

iphone-kirikae

Automatically exported from code.google.com/p/iphone-kirikae
Objective-C
1
star
16

contacts

Contacts server app
Ruby
1
star
17

SARMapBoxDrawView

Free Hand Drawing on MapBox Map View(MGLMapView) for iOS Written in Swift.
Swift
1
star
18

SARAppleMapsCanvas

Free Hand Drawing on Apple Maps
Swift
1
star
19

SARMapDrawView

Free Hand Drawing on Google Map View
Objective-C
1
star
20

sitematenewsapp

sitematenewsapp
Java
1
star