forked from MengLiMing/EasyKits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEasyKits.podspec
95 lines (74 loc) · 2.92 KB
/
EasyKits.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
#
# Be sure to run `pod lib lint EasyKits.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 = 'EasyKits'
s.version = '0.4.8'
s.summary = '使用简单的工具集合'
s.description = <<-DESC
开源日常开发中常用的简单工具,目标-使用简单,后续不断完善
DESC
s.homepage = 'https://github.com/MengLiMing/EasyKits'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'MengLiMing' => '[email protected]' }
s.source = { :git => 'https://github.com/MengLiMing/EasyKits.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.0'
s.swift_version = '5.0'
# 一行代码实现弹窗逻辑
s.subspec "EasyPopup" do |ss|
ss.dependency 'SnapKit'
ss.source_files = 'EasyKits/EasyPopup/*.swift'
end
# 简单的事件传递,解决某些情况下多重嵌套代理,莫种意义上也降低了耦合性
s.subspec "EasyResponder" do |ss|
ss.source_files = 'EasyKits/EasyResponder/*.swift'
end
# 处理复杂列表 - 电商类首页/商品详情/朋友圈等
s.subspec "EasyListView" do |ss|
ss.source_files = 'EasyKits/EasyListView/**/*'
end
# 处理首页嵌套 - 简书个人中心/电商类首页等
s.subspec "EasySyncScroll" do |ss|
ss.dependency 'RxSwift'
ss.dependency 'RxCocoa'
ss.source_files = 'EasyKits/EasySyncScroll/*.swift'
ss.frameworks = 'WebKit'
end
# 轮播 - 支持左右 上下轮播
s.subspec "EasyCarouseView" do |ss|
ss.dependency 'RxSwift'
ss.dependency 'RxCocoa'
ss.source_files = 'EasyKits/EasyCarouseView/*.swift'
end
# 分段选择器
s.subspec "EasySegmentedView" do |ss|
ss.source_files = 'EasyKits/EasySegmentedView/**/*'
end
# 页面切换
s.subspec "EasyPagingContainerView" do |ss|
ss.source_files = 'EasyKits/EasyPagingContainerView/*.swift'
end
# 一些日常使用的扩展
s.subspec "EasyExtension" do |ss|
ss.dependency 'RxSwift'
ss.dependency 'RxCocoa'
ss.source_files = 'EasyKits/EasyExtension/**/*'
end
# IGListKit+RxSwift封装
s.subspec "EasyIGListKit" do |ss|
ss.dependency 'RxSwift'
ss.dependency 'RxCocoa'
ss.dependency 'IGListKit'
ss.dependency 'Then'
ss.dependency 'SnapKit'
ss.dependency 'EasyKits/EasyResponder'
ss.dependency 'EasyKits/EasyExtension'
ss.dependency 'EasyKits/EasySyncScroll'
ss.source_files = 'EasyKits/EasyIGListKit/**/*'
end
s.frameworks = 'UIKit'
end