-
Notifications
You must be signed in to change notification settings - Fork 78
/
KJCategories.podspec
137 lines (127 loc) · 4.6 KB
/
KJCategories.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#
# Be sure to run 'pod lib lint KJCategories.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'KJCategories'
s.version = '1.0.7'
s.summary = 'Common categories for daily development. Such as UIKit, Foundation, etc.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.homepage = 'https://github.com/yangKJ/KJCategories'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'yangkejun' => '[email protected]' }
s.source = { :git => 'https://github.com/yangKJ/KJCategories.git', :tag => "#{s.version}" }
s.platform = :ios
s.swift_version = '5.0'
s.ios.deployment_target = '9.0'
s.requires_arc = true
s.static_framework = true
s.frameworks = "UIKit", "Foundation"
s.default_subspec = "Core"
s.ios.source_files = "Sources/KJCategories.h"
s.subspec 'Core' do |xx|
xx.source_files = "Sources/Core/*.h"
xx.subspec 'UIKit' do |xxx|
xxx.source_files = "Sources/Core/UIKit/**/*.{h,m}"
end
xx.subspec 'Foundation' do |xxx|
xxx.source_files = "Sources/Core/Foundation/**/*.{h,m}"
end
end
s.subspec 'KitExtension' do |xx|
xx.source_files = "Sources/UIKit/*.h"
xx.subspec 'UIBezierPath' do |xxx|
xxx.source_files = "Sources/UIKit/UIBezierPath/*.{h,m}"
end
xx.subspec 'UIButton' do |xxx|
xxx.source_files = "Sources/UIKit/UIButton/*.{h,m}"
end
xx.subspec 'UICollectionView' do |xxx|
xxx.source_files = "Sources/UIKit/UICollectionView/*.{h,m}"
end
xx.subspec 'UIColor' do |xxx|
xxx.source_files = "Sources/UIKit/UIColor/*.{h,m}"
end
xx.subspec 'UIDevice' do |xxx|
xxx.source_files = "Sources/UIKit/UIDevice/*.{h,m}"
end
xx.subspec 'UIImage' do |xxx|
xxx.source_files = "Sources/UIKit/UIImage/*.{h,m}"
end
xx.subspec 'UILabel' do |xxx|
xxx.source_files = "Sources/UIKit/UILabel/*.{h,m}"
end
xx.subspec 'UINavigation' do |xxx|
xxx.source_files = "Sources/UIKit/UINavigation/*.{h,m}"
end
xx.subspec 'UIResponder' do |xxx|
xxx.source_files = "Sources/UIKit/UIResponder/*.{h,m}"
end
xx.subspec 'UISlider' do |xxx|
xxx.source_files = "Sources/UIKit/UISlider/*.{h,m}"
end
xx.subspec 'UITabBar' do |xxx|
xxx.source_files = "Sources/UIKit/UITabBar/*.{h,m}"
end
xx.subspec 'UITextView' do |xxx|
xxx.source_files = "Sources/UIKit/UITextView/*.{h,m}"
end
xx.subspec 'UIView' do |xxx|
xxx.source_files = "Sources/UIKit/UIView/*.{h,m}"
end
xx.subspec 'UIViewController' do |xxx|
xxx.source_files = "Sources/UIKit/UIViewController/*.{h,m}"
end
end
s.subspec 'Foundation' do |xx|
xx.source_files = "Sources/Foundation/*.h"
xx.subspec 'NSArray' do |xxx|
xxx.source_files = "Sources/Foundation/NSArray/*.{h,m}"
end
xx.subspec 'NSData' do |xxx|
xxx.source_files = "Sources/Foundation/NSData/*.{h,m}"
end
xx.subspec 'NSDate' do |xxx|
xxx.source_files = "Sources/Foundation/NSDate/*.{h,m}"
end
xx.subspec 'NSDictionary' do |xxx|
xxx.source_files = "Sources/Foundation/NSDictionary/*.{h,m}"
end
xx.subspec 'NSNumber' do |xxx|
xxx.source_files = "Sources/Foundation/NSNumber/*.{h,m}"
end
xx.subspec 'NSObject' do |xxx|
xxx.source_files = "Sources/Foundation/NSObject/*.{h,m}"
end
xx.subspec 'NSString' do |xxx|
xxx.source_files = "Sources/Foundation/NSString/*.{h,m}"
end
xx.subspec 'NSTimer' do |xxx|
xxx.source_files = "Sources/Foundation/NSTimer/*.{h,m}"
end
end
s.subspec 'Customized' do |xx|
## Rainbow gradient slider
xx.subspec 'GradientSlider' do |xxx|
xxx.source_files = "Sources/Customized/GradientSlider/*.{h,m}"
end
## Open screen particle animation
xx.subspec 'EmitterAnimation' do |xxx|
xxx.source_files = "Sources/Customized/EmitterAnimation/*.{h,m}"
end
xx.subspec 'ProjectionView' do |xxx|
xxx.source_files = "Sources/Customized/ProjectionView/*.swift"
end
## Shine view
xx.subspec 'ShadowView' do |xxx|
xxx.source_files = "Sources/Customized/ShadowView/*.swift"
end
end
end