-
Notifications
You must be signed in to change notification settings - Fork 43
/
NNNavigationBar.podspec
47 lines (37 loc) · 1.88 KB
/
NNNavigationBar.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
Pod::Spec.new do |s|
s.name = "NNNavigationBar"
s.version = "2.7.3"
s.summary = "NNNavigationBar: make UINavigationBar background transition smoothly."
s.description = <<-DESC
NNNavigationBar is A library that makes the UINavigationBar background to smoothly transition between different colors or images.
DESC
s.homepage = "https://github.com/amisare/NNNavigationBar"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Haijun Gu" => "243297288@qq.com" }
s.social_media_url = "https://www.jianshu.com/u/9df9f28ff266"
s.source = { :git => "https://github.com/amisare/NNNavigationBar.git", :tag => s.version.to_s }
s.ios.deployment_target = '8.0'
s.requires_arc = true
s.source_files = 'NNNavigationBar/*.{h,m}'
s.public_header_files = 'NNNavigationBar/NNNavigationBar.h'
s.subspec 'Core' do |ss|
ss.source_files = 'NNNavigationBar/Core/*.{h,m,mm}'
ss.private_header_files = 'NNNavigationBar/Core/*.{h}'
end
s.subspec 'Utils' do |ss|
ss.source_files = 'NNNavigationBar/Utils/*.{h,m}'
ss.private_header_files = 'NNNavigationBar/Utils/*.{h}'
end
s.subspec 'Background' do |ss|
ss.dependency 'NNNavigationBar/Core'
ss.dependency 'NNNavigationBar/Utils'
ss.source_files = 'NNNavigationBar/Background/**/*.{h,m}'
ss.private_header_files = 'NNNavigationBar/Background/Source/*.{h}', 'NNNavigationBar/Background/Delegate/*.{h}', 'NNNavigationBar/Background/Transition/*.{h}'
end
s.subspec 'TintColor' do |ss|
ss.dependency 'NNNavigationBar/Core'
ss.dependency 'NNNavigationBar/Utils'
ss.source_files = 'NNNavigationBar/TintColor/**/*.{h,m}'
ss.private_header_files = 'NNNavigationBar/TintColor/Delegate/*.{h}', 'NNNavigationBar/TintColor/Transition/*.{h}'
end
end