From 917c01fa88b87c41ada04638198e2cf80974f5cc Mon Sep 17 00:00:00 2001 From: James Tang Date: Mon, 7 May 2012 23:52:15 +0800 Subject: [PATCH] - Added JTObjectMapping.podspec and update README.md --- JTObjectMapping.podspec | 11 +++++++++++ README.md | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 JTObjectMapping.podspec diff --git a/JTObjectMapping.podspec b/JTObjectMapping.podspec new file mode 100644 index 0000000..dc298af --- /dev/null +++ b/JTObjectMapping.podspec @@ -0,0 +1,11 @@ +Pod::Spec.new do |s| + s.name = 'JTObjectMapping' + s.version = '1.0.5' + s.license = 'MIT' + s.summary = 'A very simple objective-c framework that maps a JSON response from NSDictionary or NSArray to an NSObject subclass for iOS' + s.homepage = 'http://github.com/mystcolor/JTObjectMapping' + s.author = { 'James Tang' => 'mystcolor@gmail.com' } + s.source = { :git => 'http://github.com/mystcolor/JTObjectMapping.git', :tag => '1.0.5' } + s.platform = :ios + s.source_files = 'JTObjectMapping/Source/*.{h,m}' +end diff --git a/README.md b/README.md index 1181910..3d17684 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,16 @@ JTObjectMapping Inspired by RestKit. A very simple objective-c framework that maps a JSON response from NSDictionary or NSArray to NSObject subclasses for iOS. +Install +------- + +### Original method + +Copy all files in JTObjectMapping/ into your project. + +### CocoaPods + +`$ pod search JTObjectMapping`, you should be able to specify the right version in your Podfile. Here's more information about [CocoaPods][]. Usage ----- @@ -89,3 +99,6 @@ v1.0.2 v1.0.1 - Added NSDate support for mappings + +[CocoaPods]:https://github.com/CocoaPods/CocoaPods +