Re: compressing an NSString
Re: compressing an NSString
- Subject: Re: compressing an NSString
- From: Jonathon Mah <email@hidden>
- Date: Sun, 14 May 2006 22:14:58 +0930
Hi Stephen,
On 2006-05-14, at 02:49, Adam R. Maxwell wrote:
OmniFoundation has an NSData category for compressing/decompressing
with gzip or bzip2. Seems to work quite well in my usage, but
Ondra's solution probably requires the least code
I haven't seen OmniFoundation's code for this, but they may be
appropriate. The CocoaDev wiki has some zlib code for NSData too, at
<http://www.cocoadev.com/index.pl?NSDataCategory> (skip down to the -
inflate and -deflate methods). There's a whole bunch of stuff on that
page, but -inflate and -deflate don't need anything of the other
methods. I've used those, and haven't had any issues.
Jonathon Mah
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden