SDWebImage.podspec 1.4 KB

123456789101112131415161718192021222324252627282930
  1. Pod::Spec.new do |s|
  2. s.name = 'SDWebImage'
  3. s.version = '3.4'
  4. s.platform = :ios, '5.0'
  5. s.license = 'MIT'
  6. s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.'
  7. s.homepage = 'https://github.com/rs/SDWebImage'
  8. s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' }
  9. s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => '3.4' }
  10. s.description = 'This library provides a category for UIImageView with support for remote ' \
  11. 'images coming from the web. It provides an UIImageView category adding web ' \
  12. 'image and cache management to the Cocoa Touch framework, an asynchronous ' \
  13. 'image downloader, an asynchronous memory + disk image caching with automatic ' \
  14. 'cache expiration handling, a guarantee that the same URL won\'t be downloaded ' \
  15. 'several times, a guarantee that bogus URLs won\'t be retried again and again, ' \
  16. 'and performances!'
  17. s.requires_arc = true
  18. s.source_files = 'SDWebImage/{NS,SD,UI}*.{h,m}'
  19. s.framework = 'ImageIO'
  20. s.dependency 'libwebp'
  21. # TODO currently CocoaPods always tries to install the subspec even if the dependency is on just 'SDWebImage'
  22. s.subspec 'MapKit' do |mk|
  23. mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'
  24. mk.framework = 'MapKit'
  25. end
  26. end