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 12-29-2008, 02:18 PM   #6 (permalink)
lbendlin
Registered Member
 
Join Date: Dec 2008
Posts: 429
Default

Quote:
Originally Posted by acsolu View Post
it's easy, just replace line 164 in ZipArchive.mm with
NSMutableData* data = [[NSMutableData alloc] init];

and replace line 170 with
[data appendBytes:buffer length:read]

then you can handle the data in memory by yourselves
Right, but that would still expect the ZIP to be a physical file. I wanted to avoid writing to the flash altogether (given the poor performance and limited life etc), and hold both the ZIP and the contained file data in NSData objects. But from the looks of it this would mean rewriting a lot of functions, and I am not yet experienced enough for that.
lbendlin is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,800
Threads: 89,205
Posts: 380,608
Top Poster: BrianSlick (7,129)
Welcome to our newest member, michealteddyus
Powered by vBadvanced CMPS v3.1.0

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