-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathSTKitSwift.podspec
executable file
·76 lines (57 loc) · 2.43 KB
/
STKitSwift.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
66
67
68
69
70
71
72
73
74
75
Pod::Spec.new do |s|
s.name = 'STKitSwift'
s.version = '1.3'
s.summary = '快速开发'
s.description = '一些有用的类加快app开发,非常全面,是UIKit、Foundation的扩展'
s.homepage = 'https://github.com/STShenZhaoliang'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'shentian' => '409178030@qq.com' }
s.source = { :git => 'https://github.com/STShenZhaoliang/STKitSwift.git', :tag => s.version.to_s }
s.swift_version = '5'
s.ios.deployment_target = '10.0'
s.ios.dependency 'SnapKit'
s.requires_arc = true
s.default_subspec = 'STKit'
s.subspec 'STKit' do |stkit|
stkit.source_files = 'STKitSwift/*.swift'
stkit.resource_bundles = {
'STKitSwift_bundles' => ['STKitSwift/*.xcassets']
}
end
s.subspec 'STAlertView' do |stalertview|
stalertview.source_files = 'STKitSwift/STAlertView.swift', 'STKitSwift/UIViewController+STKit.swift'
end
s.subspec 'STGradientButton' do |stgradientbutton|
stgradientbutton.source_files = 'STKitSwift/STGradientButton.swift'
end
s.subspec 'STGradientView' do |stgradientview|
stgradientview.source_files = 'STKitSwift/STGradientView.swift'
end
s.subspec 'STHUD' do |sthub|
sthub.source_files = 'STKitSwift/STHUD.swift'
end
s.subspec 'STMoveButton' do |stmovebutton|
stmovebutton.source_files = 'STKitSwift/STMoveButton.swift'
end
s.subspec 'STPhoneTextField' do |stphonetextfield|
stphonetextfield.source_files = 'STKitSwift/STPhoneTextField.swift'
end
s.subspec 'STProgressView' do |stprogressview|
stprogressview.source_files = 'STKitSwift/STProgressView.swift'
end
s.subspec 'STSegmentedControl' do |stsegmentedcontrol|
stsegmentedcontrol.source_files = 'STKitSwift/STSegmentedControl.swift', 'STKitSwift/UIView+STKit.swift'
end
s.subspec 'STTimerButton' do |sttimerbutton|
sttimerbutton.source_files = 'STKitSwift/STTimerButton.swift'
end
s.subspec 'STAreaPickerView' do |stareapickerview|
stareapickerview.source_files = 'STKitSwift/STAreaPickerView', 'STKitSwift/STKitAssets.swift'
stareapickerview.resource_bundles = {
'STKitSwift_bundles' => ['STKitSwift/*.xcassets']
}
end
s.subspec 'STDatePickerView' do |stdatepickerview|
stdatepickerview.source_files = 'STKitSwift/STDatePickerView.swift', 'STKitSwift/Date+STKit.swift'
end
end