-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPodfile
More file actions
executable file
·130 lines (111 loc) · 2.16 KB
/
Podfile
File metadata and controls
executable file
·130 lines (111 loc) · 2.16 KB
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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'
use_frameworks! :linkage => :static
#Framework
install! 'cocoapods', deterministic_uuids: false, generate_multiple_pod_projects: true
def userPod (name)
pod name, :path => "LocalPods/#{name}"
end
#def userForkPod (name)
# pod name, :path => "LocalPods/Fork/#{name}"
#end
######################################################################################
def baseCorePod
userPod 'FunctionalSwift'
userPod 'CocoaExtension'
end
def collectionKitPod
pod 'CollectionKit'
end
def networkPod
pod 'Alamofire'
userPod 'RxNetwork'
pod 'Kingfisher'
end
def rxPod (hasCocoa = true)
pod 'RxSwift'
if hasCocoa
pod 'RxCocoa'
end
end
def rxExtensionPod
rxPod
pod 'RxGesture'
pod 'RxSwiftExt'
pod 'RxOptional'
# pod 'RxAnimated'
# pod 'RxKeyboard'
end
def snapKitPod
pod 'SnapKit'
end
target:'Core' do
baseCorePod
end
target:'Codable' do
pod "AnyCodable"
pod "BetterCodable"
end
target:'Coordinator' do
baseCorePod
end
target:'AnimatedTransition' do
baseCorePod
end
target:'UserNotificationManager' do
baseCorePod
rxPod hasCocoa = false
end
target:'UIComponents' do
baseCorePod
rxPod
snapKitPod
target:'ScrollExtensions' do
end
target:'CollectionKitExtensions' do
collectionKitPod
end
end
target:'EmptyDataSet' do
baseCorePod
rxPod
snapKitPod
end
target:'RxExtensions' do
baseCorePod
rxExtensionPod
end
target:'NavigationFlow' do
baseCorePod
rxExtensionPod
end
######################################################################################
def commonPods
baseCorePod
rxExtensionPod
snapKitPod
networkPod
userPod 'ModalManager'
userPod 'Validation' #校验库 正则 身份证 银行卡
userPod 'Encryption' #加密库 RSA MD5
userPod 'iCarouselSwift'
pod 'MBProgressHUD'
pod 'SwiftyUserDefaults'
pod 'Motion'
collectionKitPod #仅测试
pod 'MJRefresh'
end
def projectBasicPod
commonPods
pod 'MBProgressHUD'
pod 'ReSwift'
end
target:'ProjectBasic' do
projectBasicPod
end
target:'AppExtension' do
pod 'SwiftLint'
projectBasicPod
target 'AppExtensionUITests'
target 'AppExtensionTests'
end