-
Notifications
You must be signed in to change notification settings - Fork 60
/
AlertTransition.podspec
38 lines (29 loc) · 1.22 KB
/
AlertTransition.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
Pod::Spec.new do |s|
s.name = "AlertTransition"
s.version = "2.1.0"
s.license = "MIT"
s.summary = "AlertTransition is a extensible library for making view controller transitions, especially for alert transitions."
s.homepage = "https://github.com/loopeer/AlertTransition"
s.author = { "HanShuai" => "hanshuai@loopeer.com" }
s.source = { :git => "https://github.com/loopeer/AlertTransition.git", :tag => s.version }
s.requires_arc = true
s.ios.deployment_target = "8.0"
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
s.subspec 'Core' do |core|
core.source_files = ['AlertTransition/*.swift']
end
s.subspec 'Easy' do |easy|
easy.source_files = ['AlertTransition/Transitions/EasyTransition/*.swift']
easy.dependency 'AlertTransition/Core'
end
s.subspec 'Menu' do |menu|
menu.source_files = ['AlertTransition/Transitions/MenuTransition/*.swift']
menu.dependency 'AlertTransition/Core'
end
s.subspec 'Trolley' do |trolley|
trolley.source_files = ['AlertTransition/Transitions/TrolleyTransition.swift']
trolley.dependency 'AlertTransition/Core'
end
# By default install just the Core subspec code
s.default_subspec = ['Easy']
end