-
Notifications
You must be signed in to change notification settings - Fork 70
/
QTEventBus.podspec
31 lines (27 loc) · 1.04 KB
/
QTEventBus.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
Pod::Spec.new do |s|
s.name = 'QTEventBus'
s.version = '0.4.1'
s.summary = '优雅的处理全局事件'
s.description = <<-DESC
优雅的处理全局事件,类型安全,支持同步/异步发送,同步/异步监听
DESC
s.homepage = 'https://github.com/LeoMobileDeveloper/QTEventBus'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Leo' => 'leomobiledeveloper@gmail.com' }
s.source = { :git => 'https://github.com/leomobiledeveloper/QTEventBus.git', :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'Sources/Core/*.{h,m}'
end
s.subspec 'AppModule' do |app|
app.source_files = 'Sources/AppModule/*.{h,m}'
app.framework = 'UIKit'
app.dependency 'QTEventBus/Core'
end
s.subspec 'UIKit' do |app|
app.source_files = 'Sources/UIKit/*.{h,m}'
app.framework = 'UIKit'
app.dependency 'QTEventBus/Core'
end
end