forked from 0xPr0xy/ImageSlideshow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImageSlideshow.podspec
72 lines (60 loc) · 2.83 KB
/
ImageSlideshow.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# Be sure to run `pod lib lint ImageSlideshow.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 = "ImageSlideshow"
s.version = "1.8.0"
s.summary = "Image slideshow written in Swift with circular scrolling, timer and full screen viewer"
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
Image slideshow is a Swift library providing customizable image slideshow with circular scrolling, timer and full screen viewer and extendable image source (AFNetworking image source available in AFURL subspec).
DESC
s.homepage = "https://github.com/zvonicek/ImageSlideshow"
s.screenshots = "http://cl.ly/image/2v193I0G0h0Z/ImageSlideshow2.gif"
s.license = 'MIT'
s.author = { "Petr Zvonicek" => "[email protected]" }
s.source = { :git => "https://github.com/zvonicek/ImageSlideshow.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/zvonicek'
s.swift_versions = ['4.0', '4.1', '4.2', '5']
s.platform = :ios, '8.0'
s.requires_arc = true
s.subspec 'Core' do |core|
core.source_files = 'ImageSlideshow/Classes/Core/**/*'
core.resources = 'ImageSlideshow/Assets/*.png'
end
s.subspec 'AFURL' do |subspec|
subspec.dependency 'ImageSlideshow/Core'
subspec.dependency 'AFNetworking', '~> 3.0'
subspec.source_files = 'ImageSlideshow/Classes/InputSources/AFURLSource.swift'
end
s.subspec 'Alamofire' do |subspec|
subspec.dependency 'ImageSlideshow/Core'
subspec.dependency 'AlamofireImage', '~> 3.0'
subspec.source_files = 'ImageSlideshow/Classes/InputSources/AlamofireSource.swift'
end
s.subspec 'SDWebImage' do |subspec|
subspec.dependency 'ImageSlideshow/Core'
subspec.dependency 'SDWebImage', '>= 3.7'
subspec.source_files = 'ImageSlideshow/Classes/InputSources/SDWebImageSource.swift'
end
s.subspec 'Kingfisher' do |subspec|
subspec.dependency 'ImageSlideshow/Core'
subspec.dependency 'Kingfisher', '> 3.0'
subspec.platform = :ios, '10.0'
subspec.source_files = 'ImageSlideshow/Classes/InputSources/KingfisherSource.swift'
end
s.subspec 'Parse' do |subspec|
subspec.dependency 'ImageSlideshow/Core'
subspec.dependency 'Parse', '~> 1.14'
subspec.source_files = 'ImageSlideshow/Classes/InputSources/ParseSource.swift'
end
s.default_subspec = 'Core'
end