I'm currently writing an iPhone app where I need to uncompress several files from .pak archive. I'm assuming libz.dylib will probably have the ability to do this but I'm having a hard time find any code on the subject. Anyone got any example code or can point me in the right direction? Any help at all would be much appreciated.
Cheers.
What do you mean by "PAK"?
If it's actually a .zip, look up minizip or ziparchive, which may do what you want.