forked from nytimes/NYTPhotoViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NYTPhotoViewer.podspec
31 lines (25 loc) · 1.29 KB
/
NYTPhotoViewer.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 = "NYTPhotoViewer"
s.version = "5.0.5"
s.description = <<-DESC
NYTPhotoViewer is a slideshow and image viewer that includes double tap to zoom, captions, support for multiple images, interactive flick to dismiss, animated zooming presentation, and more.
DESC
s.summary = "NYTPhotoViewer is a slideshow and image viewer that includes double tap to zoom, flick to dismiss, animated presentation, and more."
s.homepage = "https://github.com/NYTimes/NYTPhotoViewer"
s.author = "The New York Times"
s.license = { :type => 'Apache 2.0' }
s.source = { :git => "https://github.com/NYTimes/NYTPhotoViewer.git", :tag => s.version.to_s }
s.platform = :ios, '9.0'
s.requires_arc = true
s.subspec 'Core' do |ss|
ss.ios.resource_bundle = { s.name => ['NYTPhotoViewer/NYTPhotoViewer.bundle/*'] }
ss.source_files = 'NYTPhotoViewer/**/*.{h,m,swift}'
ss.frameworks = 'UIKit', 'Foundation'
end
s.subspec 'AnimatedGifSupport' do |ss|
ss.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'ANIMATED_GIF_SUPPORT=1' }
ss.dependency 'NYTPhotoViewer/Core'
ss.dependency 'PINRemoteImage/iOS'
ss.dependency 'PINRemoteImage/PINCache'
end
end