Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-01-2009, 08:29 PM   #20 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
Default

Quote:
Originally Posted by skinnytron View Post
Disregard the previous post. That code snippet will work.

The problem I am having is that the file is in the format filename.txt.gz which I'm assuming zipArchive won't extract. Does anyone know of a solution for handling these files in objective-c?
as you have figured out by now, gz is gzip which is different from zip. apparently you can link with libz.dylib on the iPhone but i don't have any sample code showing how to uncompress them.

here's a blog post showing how to compress, maybe you can work backwards from it. How to gzip Data in Memory Using Objective-C — ClintHarris.net
jsd is offline   Reply With Quote
 

» Advertisements
» Online Users: 264
16 members and 248 guests
ADY, ckgni, imehl, IphoneSdk, iph_s, jakerocheleau, karunaskj, MarkC, marshusensei, peterkessler45, rob.mccarthy, rodrigozanatta, Rudy, Speed, Xaron
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,218
Posts: 380,695
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:30 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.