Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[New Pod] ZipKit: An Objective-C Zip framework for Mac OS X and iOS.

  • Loading branch information...
commit e3c62a488113fa86981622f7dc8848a0234a0a37 1 parent 2d5e85a
@alloy alloy authored
Showing with 31 additions and 3 deletions.
  1. +5 −3 README.md
  2. +26 −0 ZipKit/0.0.1/ZipKit.podspec
View
8 README.md
@@ -10,22 +10,24 @@ This repository contains specifications of open-source Objective-C libraries, wh
First of all, you need to install the tools.
$ [sudo] gem install cocoapods
+ $ pod setup
A specification file has to be namespaced by the library’s name and the version for which the specification is meant. For instance, the directory for a library named ‘Bananas’ with version ‘1.2.3’ should be:
$ mkdir -p Bananas/1.2.3
+ $ cd Bananas/1.2.3
Then you can have the CocoaPods `pod` command create a stub specification:
- $ pod spec create Bananas/1.2.3/Bananas
+ $ pod spec create Bananas
Now edit the stub specification following the explanations therein contained. This file is a [Ruby](http://www.ruby-lang.org/) source file.
- $ vim Bananas/1.2.3/Bananas.podspec
+ $ vim Bananas.podspec
You can verify the specification file with the lint command.
- $ pod spec lint Bananas/1.2.3/Bananas.podspec
+ $ pod spec lint Bananas.podspec
Once you have created a working specification create a pull request. Once accepted, you will receive push access to this repo. Feel free to push updates, specs for other libraries you use, and participate in other tickets.
View
26 ZipKit/0.0.1/ZipKit.podspec
@@ -0,0 +1,26 @@
+Pod::Spec.new do |s|
+ s.name = 'ZipKit'
+ s.version = '0.0.1'
+ s.license = 'BSD'
+ s.summary = 'An Objective-C Zip framework for Mac OS X and iOS.'
+ s.homepage = 'https://bitbucket.org/kolpanic/zipkit/wiki/Home'
+ s.author = { 'Karl Moskowski' => 'kolpanic@voodooergonomics.com' }
+
+ s.source = { :hg => 'https://bitbucket.org/kolpanic/zipkit', :revision => '42c5027aab30' }
+
+ s.description = "ZipKit is an Objective-C framework for reading and writing Zip archives in " \
+ "Mac OS X and iOS apps. It supports the standard PKZip format, files larger " \
+ "than 4GB in size using PKZip's zip64 extensions, optionally, resource " \
+ "forks in a manner compatible with Mac OS X's Archive Utility (in the Mac OS " \
+ "X targets only), and clean interruption so archiving can be cancelled by the " \
+ "invoking object (e.g., a NSOperation or NSThread)."
+
+ files = FileList['**/*.{h,m}']
+ files.exclude(/GMAppleDouble/) if config.ios?
+ s.source_files = files
+
+ s.clean_paths = 'ZipKit.{xcodeproj,lineform}', 'ZipKitFW-Info.plist', 'ZipKit_Prefix.pch', 'Demo Projects'
+
+ s.library = 'z'
+ s.framework = 'CoreServices' if config.osx?
+end
Please sign in to comment.
Something went wrong with that request. Please try again.