forked from rickytan/RTRootNavigationController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RTRootNavigationController.podspec
50 lines (41 loc) · 2.12 KB
/
RTRootNavigationController.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
#
# Be sure to run `pod lib lint RTRootNavigationController.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 http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'RTRootNavigationController'
s.version = '0.7.0'
s.summary = 'Transparently make every view controller has its own navigation bar'
s.description = <<-DESC
More and more apps use custom navigation bar for each different view controller, instead of one common, gloabal navigation bar.
This project just help develops to solve this problem in a tricky way, develops use this navigation controller in a farmilar way just like you used to be, and
you can have each view controller a individual navigation bar.
DESC
s.homepage = 'https://github.com/rickytan/RTRootNavigationController'
s.screenshots = 'https://raw.githubusercontent.com/rickytan/RTRootNavigationController/master/ScreenShot/1.png', 'https://raw.githubusercontent.com/rickytan/RTRootNavigationController/master/ScreenShot/2.gif'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'rickytan' => '[email protected]' }
s.source = { :git => 'https://github.com/rickytan/RTRootNavigationController.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '7.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'RTRootNavigationController/Classes/**/*'
end
s.subspec 'Push' do |push|
push.dependency 'RTRootNavigationController/Core'
push.dependency 'RTInteractivePush', '~> 0.1.5'
push.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) RT_INTERACTIVE_PUSH=1'
}
end
# s.resource_bundles = {
# 'RTRootNavigationController' => ['RTRootNavigationController/Assets/*.png']
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit', 'Foundation'
# s.dependency 'AFNetworking', '~> 2.3'
end