SDWebImage.podspec 1.3 KB

12345678910111213141516171819202122232425262728
  1. Pod::Spec.new do |s|
  2. s.name = 'SDWebImage'
  3. s.version = '3.1'
  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.1' }
  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/{SD,UI}*.{h,m}'
  19. s.framework = 'ImageIO'
  20. # TODO currently CocoaPods always tries to install the subspec even if the dependency is on just 'SDWebImage'
  21. s.subspec 'MapKit' do |mk|
  22. mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'
  23. mk.framework = 'MapKit'
  24. end
  25. end