Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments