Re: Unzip class/lib
Re: Unzip class/lib
- Subject: Re: Unzip class/lib
- From: John Ackert <email@hidden>
- Date: Sat, 14 Aug 2010 03:44:55 +0200
you can also use the standard zlib library and create a category for NSData by using the 'bytes' of NSData and the inflate() and deflate() functions of the zlib library.
~John Ackert
On Aug 13, 2010, at 8:56 PM, Kyle Sluder wrote:
> On Fri, Aug 13, 2010 at 11:39 AM, Tom Jones <email@hidden> wrote:
>> I have been googling for a little while now and I'm not finding the answers. Does Mac OS X have a unzip library to unzip the archives created in the GUI. I guess I could do the NSTask thing but I would rather not. I would also like to avoid a framework as well as my app is a Foundation tool.
>
> Using NSTask to run ditto is the most compatible solution, especially
> since that's what I believe the Finder does. It properly takes care of
> the Mac-specific metadata.
>
> Why does being a Foundation tool make you want to avoid using a
> framework? You're already dynamically linking against all the other
> libraries, including Foundation. If you can get over your dislike of
> frameworks, there's the OmniUnzip framework at
> http://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniUnzip/
> .
>
> --Kyle Sluder
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden