From c7603190edc16ed05ad56297cedd487b4968dfd9 Mon Sep 17 00:00:00 2001 From: Yasuharu Ozaki Date: Tue, 21 Jul 2015 13:41:30 +0900 Subject: [PATCH] Supports CocoaPods --- YOChartImageKit.podspec | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 YOChartImageKit.podspec diff --git a/YOChartImageKit.podspec b/YOChartImageKit.podspec new file mode 100644 index 0000000..4e5b487 --- /dev/null +++ b/YOChartImageKit.podspec @@ -0,0 +1,25 @@ +Pod::Spec.new do |s| + s.name = "YOChartImageKit" + s.version = "0.3.0" + s.summary = "ChartKit for watchOS" + s.description = <<-DESC + Chart image framework for watchOS + + Since watchOS does not have `UIView` class, YOChartImageKit draws a `UIImage` of a chart with given values. + Values and colors can be customized. + DESC + s.homepage = "https://github.com/yasuoza/YOChartImageKit" + s.screenshots = "https://raw.githubusercontent.com/yasuoza/YOChartImageKit/assets/images/watchos/all.png" + s.license = "MIT" + s.author = { "Yasuharu Ozaki" => "yasuharu.ozaki@gmail.com" } + s.source = { :git => "https://github.com/yasuoza/YOChartImageKit.git", :tag => s.version.to_s } + + s.ios.deployment_target = "7.0" + s.watchos.deployment_target = "2.0" + + s.requires_arc = true + + s.source_files = "Source/**/*.{h,m}" + + s.frameworks = "UIKit" +end