Is there a compressing and decompressing library in mac os?

Discussion in 'Mac Programming' started by MayPeng, Jun 14, 2011.

  1. macrumors member

    Joined:
    Nov 21, 2010
    #1
    Is there a compressing and decompressing library in mac os like FCI(File Compression Interface) and FDI(File Decompression Interface) developing package in windows?
     
  2. macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #2
    No, but googling around there are lots of free zip C libraries to compress say the contents of an NSData object.
     
  3. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
  4. macrumors 68030

    jared_kipe

    Joined:
    Dec 8, 2003
    Location:
    Seattle
    #4
  5. macrumors 68000

    Sydde

    Joined:
    Aug 17, 2009
    #5
    I believe Apple's tool of choice is xarlib, which is not strictly for compression but is very good for handling xar archives, if that fits your needs. .pkg files are now xar archives rather than the folder bundles they used to be, and chances are, that is the direction they will eventually go with .app files.
     

Share This Page