2016-11-28 22:55:00 +08:00
|
|
|
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
|
|
|
s.name = "BatteryView"
|
2019-09-12 16:52:20 +08:00
|
|
|
s.version = "1.3.9"
|
2016-11-28 22:55:00 +08:00
|
|
|
s.summary = "Simple battery shaped UIView."
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
```swift
|
|
|
|
let batteryView = BatteryView(frame: smallRect)
|
|
|
|
batteryView.level = 42 // anywhere in 0...100
|
|
|
|
```
|
|
|
|
DESC
|
|
|
|
|
|
|
|
s.homepage = "https://github.com/yonat/BatteryView"
|
|
|
|
s.screenshots = "https://raw.githubusercontent.com/yonat/BatteryView/master/Screenshots/Battery.png"
|
|
|
|
s.license = { :type => "MIT", :file => "LICENSE.txt" }
|
|
|
|
|
|
|
|
s.author = { "Yonat Sharon" => "yonat@ootips.org" }
|
2019-08-22 14:35:41 +08:00
|
|
|
s.social_media_url = "https://twitter.com/yonatsharon"
|
2016-11-28 22:55:00 +08:00
|
|
|
|
2019-01-14 04:06:13 +08:00
|
|
|
s.swift_version = '4.2'
|
2019-07-10 19:04:38 +08:00
|
|
|
s.swift_versions = ['4.2', '5.0']
|
2016-11-28 22:55:00 +08:00
|
|
|
s.platform = :ios, "8.0"
|
2018-01-21 22:23:49 +08:00
|
|
|
s.requires_arc = true
|
2016-11-28 22:55:00 +08:00
|
|
|
|
|
|
|
s.source = { :git => "https://github.com/yonat/BatteryView.git", :tag => s.version }
|
|
|
|
s.source_files = "Sources/*"
|
2019-08-22 14:35:41 +08:00
|
|
|
|
|
|
|
s.pod_target_xcconfig = { 'LD_RUNPATH_SEARCH_PATHS' => '$(FRAMEWORK_SEARCH_PATHS)' } # fix Interface Builder render error
|
|
|
|
|
2016-11-28 22:55:00 +08:00
|
|
|
end
|