forked from zvonicek/ImageSlideshow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImageSlideshow.podspec
54 lines (45 loc) · 2.15 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
#
# 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 = "0.5.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" => "zvonicek@gmail.com" }
s.source = { :git => "https://github.com/zvonicek/ImageSlideshow.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/zvonicek'
s.platform = :ios, '8.0'
s.requires_arc = true
s.subspec 'Core' do |core|
core.source_files = 'Pod/Classes/Core/**/*'
core.resource_bundles = {
'ImageSlideshow' => ['Pod/Assets/*.png']
}
end
s.subspec 'AFURL' do |afnetworking|
afnetworking.dependency 'ImageSlideshow/Core'
afnetworking.dependency 'AFNetworking', '~> 3.0'
afnetworking.source_files = 'Pod/Classes/InputSources/AFURLSource.swift'
end
s.subspec 'Alamofire' do |afnetworking|
afnetworking.dependency 'ImageSlideshow/Core'
afnetworking.dependency 'AlamofireImage', '~> 2.0'
afnetworking.source_files = 'Pod/Classes/InputSources/AlamofireSource.swift'
end
s.default_subspec = 'Core'
end