-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathNKButton.podspec
34 lines (31 loc) · 1.36 KB
/
NKButton.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Pod::Spec.new do |s|
s.name = 'NKButton'
s.version = '4.7.1'
s.summary = 'A fully customizable UIButton'
s.description = <<-DESC
A fully customizable button that fills all lacked functions from UIButton like:
+ setBackgroundColor:forState:
+ setBorderColor:forState
+ setShadowColor:forState
+ setGradientColor:forState
+ cornerRadius and isRoundedButton
+ imageAlignment (top, left, bottom, right, topEdge, leftEdge, bottomEdge, rightEdge)
+ set spacing between image and text
+ set loading state with loading animation from NVActivityIndicator
+ a backgroundView to attach an UIVisualEffectView if you want
+ flash effect
+ hover gesture
DESC
s.homepage = 'https://github.com/kennic/NKButton'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Nam Kennic' => '[email protected]' }
s.source = { :git => 'https://github.com/kennic/NKButton.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/namkennic'
s.platform = :ios, '9.0'
s.ios.deployment_target = '9.0'
s.swift_version = '5.2'
s.source_files = 'NKButton/Classes/*.swift'
s.frameworks = 'UIKit'
s.dependency 'FrameLayoutKit'
s.dependency 'NVActivityIndicatorView/AppExtension'
end