-
Notifications
You must be signed in to change notification settings - Fork 120
/
OLImageView.podspec
30 lines (27 loc) · 1.07 KB
/
OLImageView.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
Pod::Spec.new do |s|
s.name = "OLImageView"
s.version = "1.5"
s.summary = "Animated GIFs implemented the right way."
s.homepage = "https://www.github.com/ondalabs/OLImageView"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Diego Torres" => "contact@dtorres.me" }
s.source = { :git => "https://github.com/ondalabs/OLImageView.git", :tag => s.version.to_s }
s.platform = :ios, '5.0'
s.framework = 'ImageIO', 'MobileCoreServices', 'QuartzCore'
s.requires_arc = true
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'OLImage.{h,m}', 'OLImageView.{h,m}', 'OLImageViewDelegate.h'
end
s.subspec 'AFNetworking' do |af|
af.dependency 'OLImageView/Core'
af.dependency 'AFNetworking', '~> 1.0'
af.source_files = "Categories/AFImageRequestOperation+OLImage.{h,m}"
end
s.subspec 'AFNetworking2' do |ss|
s.platform = :ios, '6.0'
ss.dependency 'OLImageView/Core'
ss.dependency 'AFNetworking', '~> 2.0'
ss.source_files = "AFNetworking/OL*.{h,m}"
end
end