• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: compressing an NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Using CLI arguments in controller (scoping?) (From: Andrew Pouliot <email@hidden>)
 >compressing an NSString (From: stephen rouse <email@hidden>)
 >Re: compressing an NSString (From: Ondra Cada <email@hidden>)
 >Re: compressing an NSString (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: Re: Menu bar
  • Next by Date: Re: find - sort - locate.big...
  • Previous by thread: Re: compressing an NSString
  • Next by thread: NSTextField, bindings and saving changes
  • Index(es):
    • Date
    • Thread