Open Source iOS Library Providing Direct Access To Data Stored Within Zip Files

In the past I mentioned a few libraries for working with zip files on the iOS platform, and the ZipZap libray provides a nice syntax for creating/unzipping zip files and has kept up to date.

Here’s a library providing a custom NSURLProtocol that allows you to simply load the content of zip files using a common URL request called ADZipURLProtocol from Applidium.

With ADZipURLProtocol you can simply load images, text files, whatever form a zip archive stored locally or from the web.

This example from the readme shows how easily you can load an image from a zip archive:

NSData * imageData = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"adzip://myArchivedData.zip/image_01.png"]];
UIImage * image = [UIImage imageWithData:imageData];
self.imageView.image = image;

You can find ADZipURLProtocol on Github here.

A great library for working with zip files.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source iOS Library Providing Direct Access To Data Stored Within Zip Files

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *