2012-11-29 06:17:29 +08:00
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
Objective-Zip
|
|
|
|
=============
|
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
Introduction
|
|
|
|
------------
|
|
|
|
|
|
|
|
Objective-Zip is a small Objective-C library that wraps ZLib and MiniZip in
|
|
|
|
an object-oriented friendly way.
|
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
What is contained here
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
The source repository contains a sample application with full
|
|
|
|
sources for ZLib, MiniZip and Objective-Zip, together with a unit test
|
|
|
|
UI. The versions included are:
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2013-06-19 05:24:55 +08:00
|
|
|
- 1.2.8 for [ZLib](http://zlib.net)
|
2013-06-23 07:00:04 +08:00
|
|
|
- 1.1 for [MiniZip](https://github.com/nmoinvaz/minizip)
|
2012-11-29 06:17:29 +08:00
|
|
|
- latest version for Objective-Zip.
|
|
|
|
|
|
|
|
Please note that ZLib and MiniZip are included here only to provide a
|
|
|
|
complete and self-contained package, but they are copyrighted by their
|
|
|
|
respective authors and redistributed on respect of their software
|
|
|
|
license. Please refer to their websites (linked above) for more
|
|
|
|
informations.
|
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
Getting started
|
|
|
|
---------------
|
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
Please see **GETTING_STARTED.md**.
|
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
The library is distributed under the New BSD License.
|
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
Version history
|
|
|
|
---------------
|
|
|
|
|
2013-06-19 05:24:55 +08:00
|
|
|
Version 0.8.2:
|
|
|
|
|
2013-06-23 07:00:04 +08:00
|
|
|
- Updated ZLib to 1.2.8
|
|
|
|
- Updated MiniZip to Nathan Moinvaziri's Version
|
|
|
|
- Added test code to zip & unzip up to (slighlty less than) 4 GB:
|
|
|
|
the library is able to create and expand files up to
|
|
|
|
4,293,387,000 bytes (compressed); use the test with caution,
|
|
|
|
requires 4 GB of free space and around 10 minutes on the
|
|
|
|
iOS simulator
|
2013-06-19 05:24:55 +08:00
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
Version 0.8.1:
|
|
|
|
|
|
|
|
- Added support for ARC through Nick Lockwood's [ARC Helper](https://gist.github.com/1563325)
|
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
Version 0.8:
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2013-06-19 05:24:55 +08:00
|
|
|
- Updated ZLib to 1.2.7
|
2012-11-29 06:17:29 +08:00
|
|
|
- Updated MiniZip to 1.1
|
|
|
|
- Added method to get file name from a ZipFile instance
|
|
|
|
|
|
|
|
Version 0.7.3:
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
- Fixed memory leak in test app
|
|
|
|
|
|
|
|
Version 0.7.2:
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
- Added variant of writeFileInZipWithName that accepts also a file date
|
|
|
|
- Fixed bug with date handling
|
|
|
|
|
|
|
|
Version 0.7.1:
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
- Fixed a bug in creation of an encrypted zip file
|
|
|
|
|
|
|
|
Version 0.7.0:
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
- Initial public beta release
|
|
|
|
|
2013-03-05 06:24:24 +08:00
|
|
|
|
2012-11-29 06:17:29 +08:00
|
|
|
Compatibility
|
|
|
|
-------------
|
|
|
|
|
2013-06-23 07:00:04 +08:00
|
|
|
Version 0.8.2 has been tested with iOS from 5.1 to 6.1, but should be
|
2012-11-29 06:17:29 +08:00
|
|
|
compatible with earlier versions too. Le me know of any issues that
|
|
|
|
should arise.
|
|
|
|
|