compressing an NSString
compressing an NSString
- Subject: compressing an NSString
- From: stephen rouse <email@hidden>
- Date: Sat, 13 May 2006 12:41:03 -0400
Hi everyone:
I'm working on a cocoa app in which i'd like to compress a chunk of xml
(stored in an instance of NSString) before sending it over the wire. Is
there a recommended way to accomplish this?
I notice that zlib is installed as part of panther, so was thinking
that a category on NSString that made use of zlib would be a decent
approach, so i could call a method like
stringByCompressingString:options: or something similar.
I've never done this sort of thing before, so i thought i would check
here to see if:
a. this approach was wrong-headed.
b. something like this already exists somewhere.
thanks,
stephen
_______________________________________________
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