Add and update podspec

This commit is contained in:
Kevin Monahan 2012-07-11 17:14:29 -04:00 committed by Olivier Poitrey
parent 0e075907a4
commit 4ea95b1342
1 changed files with 27 additions and 0 deletions

27
SDWebImage.podspec Normal file
View File

@ -0,0 +1,27 @@
Pod::Spec.new do |s|
s.name = 'SDWebImage'
s.version = '2.6'
s.platform = :ios
s.license = 'MIT'
s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.'
s.homepage = 'https://github.com/rs/SDWebImage'
s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' }
s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => '2.6' }
s.description = 'This library provides a category for UIImageVIew with support for remote ' \
'images coming from the web. It provides an UIImageView category adding web ' \
'image and cache management to the Cocoa Touch framework, an asynchronous ' \
'image downloader, an asynchronous memory + disk image caching with automatic ' \
'cache expiration handling, a guarantee that the same URL won\'t be downloaded ' \
'several times, a guarantee that bogus URLs won\'t be retried again and again, ' \
'and performances!'
s.source_files = 'SDWebImage/{SD,UI}*.{h,m}'
s.clean_paths = 'SDWebImage.xcodeproj', 'Examples'
# TODO currently CocoaPods always tries to install the subspec even if the dependency is on just 'SDWebImage'
#s.subspec 'MapKit' do
#s.source_files = 'MKAnnotationView+WebCache.*'
#s.framework = 'MapKit'
#end
end