All Projects → saru2020 → Sarunarchiveany

saru2020 / Sarunarchiveany

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

Projects that are alternatives of or similar to Sarunarchiveany

Sparkbuttondemo
Demonstrates the Like button animation.
Stars: ✭ 210 (-23.64%)
Mutual labels:  apple, library
Awesome Swiftui
A curated list of awesome SwiftUI tutorials, libraries, videos and articles.
Stars: ✭ 289 (+5.09%)
Mutual labels:  apple, library
Landscapist
🍂 Jetpack Compose image loading library which can fetch and display network images using Glide, Coil, and Fresco.
Stars: ✭ 264 (-4%)
Mutual labels:  library
Jackrabbit
Mirror of Apache Jackrabbit
Stars: ✭ 273 (-0.73%)
Mutual labels:  library
Whereami
Locate the current executable and the current module/library on the file system
Stars: ✭ 270 (-1.82%)
Mutual labels:  library
Cordova Plugin Dialogs
Apache Cordova Plugin dialogs
Stars: ✭ 267 (-2.91%)
Mutual labels:  library
Rye
A modern, lightweight browser library using ES5 natives
Stars: ✭ 271 (-1.45%)
Mutual labels:  library
Ristretto
A high performance memory-bound Go cache
Stars: ✭ 3,584 (+1203.27%)
Mutual labels:  library
Nostrum
Elixir Discord Library
Stars: ✭ 274 (-0.36%)
Mutual labels:  library
Gorequest
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
Stars: ✭ 3,063 (+1013.82%)
Mutual labels:  library
Adafruit Fingerprint Sensor Library
Arduino library for interfacing to the fingerprint sensor in the Adafruit shop
Stars: ✭ 273 (-0.73%)
Mutual labels:  library
Paper Switch
🎚 RAMPaperSwitch is a Swift material design UI module which paints over the parent view when the switch is turned on. iOS library by @Ramotion
Stars: ✭ 2,902 (+955.27%)
Mutual labels:  library
I Use Arch Btw
"I use Arch btw" but it's a Turing-complete programming language.
Stars: ✭ 266 (-3.27%)
Mutual labels:  library
Swiftui Charts
🚀 SwiftUI Charts with custom styles
Stars: ✭ 272 (-1.09%)
Mutual labels:  apple
Bottomsheet Imagepicker
Modern image picker for Android
Stars: ✭ 267 (-2.91%)
Mutual labels:  library
Swiftrex
Swift + Redux + (Combine|RxSwift|ReactiveSwift) -> SwiftRex
Stars: ✭ 267 (-2.91%)
Mutual labels:  apple
Prdownloader
PRDownloader - A file downloader library for Android with pause and resume support
Stars: ✭ 2,947 (+971.64%)
Mutual labels:  library
Visitor
The Hoa\Visitor library.
Stars: ✭ 269 (-2.18%)
Mutual labels:  library
Cordova Plugin Media Capture
Apache Cordova Plugin media-capture
Stars: ✭ 271 (-1.45%)
Mutual labels:  library
Gps
your dependencies have arrived
Stars: ✭ 275 (+0%)
Mutual labels:  library

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].