BatteryView/BatteryView.podspec

35 lines
1.0 KiB
Plaintext
Raw Normal View History

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" }
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'
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/*"
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