1

I'm programming a iPhone app. Now I want to extract a gziped file (contain folder hierarchy) with objective-c. Currently I know "zlib" can do it, but I don't know how to use it in objective-c.

I don't want the wrapper package "minizip" be imported, just want to use "zlib" directly.

Can anybody help on this?

Justin Boo
  • 10,132
  • 8
  • 50
  • 71
user524878
  • 93
  • 1
  • 6

1 Answers1

1

Since Objective-C is a superset of C, you'd use zlib the same as in any C program. If you want an Objective-C interface, try the NSDataExtension category over at CocoaDev.

Community
  • 1
  • 1
outis
  • 75,655
  • 22
  • 151
  • 221