8

I am developing an Ebook reader for iPhone that loads ePUB file. I would like to know how would I unzip ePUB file format. Is there any examples around?

Thanks.

user549211
  • 179
  • 2
  • 5
  • 14
  • 2
    This question appears to be off-topic because it is not about programming –  Aug 08 '13 at 17:09

1 Answers1

19

Unzipping is easier than zipping. Just change extension to .zip and use regular zip tool.

Or on Mac, in Terminal, use

unzip file.epub

Liz Castro
  • 191
  • 3
  • 2
    the OP has been asking this question in various forms for a while now, I think she or he wants someone to supply sample Objective C code so they don't have to learn anything much about EPUB – Nic Gibson Jan 18 '11 at 15:20
  • We might tell him that the zip format is well documented, that the EPUB standard tells us very precisely which zip version is to be used for ePub, and that the zlib library is available as part of iOS. Maybe add that Google or Bing will easily find all that information. And as a bonus (I wish someone had told me): He'll need the class NSURLProtocol. – gnasher729 Mar 18 '14 at 22:45