-
Notifications
You must be signed in to change notification settings - Fork 151
/
WHC_AutoLayoutKit.podspec
executable file
·65 lines (49 loc) · 2.17 KB
/
WHC_AutoLayoutKit.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Pod::Spec.new do |s|
s.name = "WHC_AutoLayoutKit"
s.version = "2.8.6"
s.summary = "Service to update constraints, convenient and quick dynamic UI layout,服务于更新约束方便快捷动态UI构建的自动布局库,支持Cell高度自动,view高宽自动"
s.homepage = "https://github.com/netyouli/WHC_AutoLayoutKit"
s.license = "MIT"
s.author = { "吴海超(WHC)" => "[email protected]" }
s.source = { :git => "https://github.com/netyouli/WHC_AutoLayoutKit.git", :tag => "2.8.6"}
s.source_files = "WHC_AutoLayoutKit/WHC_AutoLayout.h"
s.public_header_files = 'WHC_AutoLayoutKit/WHC_AutoLayout.h'
s.ios.frameworks = 'Foundation', 'UIKit'
s.tvos.frameworks = 'Foundation', 'UIKit'
s.osx.frameworks = 'Foundation', 'AppKit'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.7'
s.tvos.deployment_target = '9.0'
s.subspec 'Util' do |ss|
ss.source_files = 'WHC_AutoLayoutKit/Util/*.h'
ss.public_header_files = 'WHC_AutoLayoutKit/Util/*.h'
end
s.subspec 'LayoutView' do |ss|
ss.dependency 'WHC_AutoLayoutKit/Util'
ss.source_files = 'WHC_AutoLayoutKit/LayoutView/*.{h,m}'
ss.public_header_files = 'WHC_AutoLayoutKit/LayoutView/*.h'
end
s.subspec 'StackView' do |ss|
ss.dependency 'WHC_AutoLayoutKit/LayoutView'
ss.dependency 'WHC_AutoLayoutKit/Frame'
ss.source_files = 'WHC_AutoLayoutKit/StackView/*.{h,m}'
ss.public_header_files = 'WHC_AutoLayoutKit/StackView/*.h'
end
s.subspec 'LayoutGuide' do |ss|
ss.dependency 'WHC_AutoLayoutKit/Util'
ss.source_files = 'WHC_AutoLayoutKit/LayoutGuide/*.{h,m}'
ss.public_header_files = 'WHC_AutoLayoutKit/LayoutGuide/*.h'
end
s.subspec 'Frame' do |ss|
ss.dependency 'WHC_AutoLayoutKit/Util'
ss.source_files = 'WHC_AutoLayoutKit/Frame/*.{h,m}'
ss.public_header_files = 'WHC_AutoLayoutKit/Frame/*.h'
end
s.subspec 'AutoCellHeight' do |ss|
ss.dependency 'WHC_AutoLayoutKit/Util'
ss.dependency 'WHC_AutoLayoutKit/LayoutView'
ss.source_files = 'WHC_AutoLayoutKit/AutoCellHeight/*.{h,m}'
ss.public_header_files = 'WHC_AutoLayoutKit/AutoCellHeight/*.h'
end
s.requires_arc = true
end