title: unzip NSData using objective zip
body: <p>I have just recently found <a href="https://github.com/flyingdolphinstudio/Objective-Zip" rel="nofollow">Objective Zip</a>  Ihave been reading through the instructions to get it set up in my project. However I am not really sure how to use it to decompress some NSData I have that I am wanting to decompress.</p>
  
  <p>I have looked at the example solution and it seems to be performing the unzip on a zip file the code looks roughly like this</p>
  
  <pre><code>ZipFile *unzipFile= [[ZipFile alloc] initWithFileName:filePath mode:ZipFileModeUnzip];
  
  [unzipFile goToFirstFileInZip];
  ZipReadStream *read1= [unzipFile readCurrentFileInZip];
  </code></pre>
  
  <p>give or take some other instructions this is how they show you to use it, their sample code is <a href="https://github.com/flyingdolphinstudio/Objective-Zip/blob/master/Classes/Objective_ZipViewController.m" rel="nofollow">here</a></p>
  
  <p>I would like to know how to do the same thing but using NSData? or would I have to convert the NSData into a zipFile? if so how is that performed properly?</p>
  
  <p>The NSData I am trying to unzip if zlib compressed... any example code would be helpful</p>