diff --git a/README.md b/README.md index cb13a33..6204e60 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,11 @@ Using `@with`, this would be Download [`VARMacros.h`][file], add to your Xcode project, and `#import`. -A CocoaPod is on the way, or feel free to create one & pull request. +Using **CocoaPods** + +``` +pod 'libvarobjc', '~> 1.0' +``` # Questions, objections, ... diff --git a/libvarobjc.podspec b/libvarobjc.podspec new file mode 100644 index 0000000..c25cb0e --- /dev/null +++ b/libvarobjc.podspec @@ -0,0 +1,10 @@ +Pod::Spec.new do |spec| + spec.name = 'libvarobjc' + spec.version = '1.0.0' + spec.license = { :type => 'MIT' } + spec.homepage = 'https://github.com/claybridges/libvarobjc' + spec.authors = { 'Luca DAlberti' => 'dalberti.luca93@gmail.com' } + spec.summary = 'A tiny library of Objective-C macros to aid concision, @morph, @var and @with. In use, code completion and Xcode indentation work sanely.' + spec.source = { :git => 'https://github.com/dalu93/libvarobjc.git', :tag => '1.0.0' } + spec.source_files = 'varobjc/VARMacros.h' +end \ No newline at end of file