-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathFlyImage.podspec
executable file
·45 lines (38 loc) · 1.71 KB
/
FlyImage.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
Pod::Spec.new do |s|
s.name = "FlyImage"
s.version = "1.1"
s.summary = "Download, cache, render small images with UIImageView category"
s.description = 'FlyImage takes the advantages of SDWebImage, FastImageCache and AFNetworking, ' \
'is a simple and high performance image library.Features: ' \
'High Performance, reduce memory operations while rendering, avoid Memory warning caused by image; ' \
'Store and retrieve different size of small images in one memory file, smooth scrolling; ' \
'Simple, support UIImageView, CALayer category; ' \
'An asynchronous image downloader; ' \
'Support WebP format; ' \
'Support mmap to improve I/O performace;'
s.homepage = "https://github.com/northwind/FlyImage"
s.license = "MIT"
s.author = { "norristong" => "[email protected]" }
s.platform = :ios, "8.0"
s.source = { :git => 'https://github.com/northwind/FlyImage.git', :tag => s.version.to_s }
s.source_files = "FlyImage", "FlyImage/**/*.{h,m}"
s.frameworks = "ImageIO", 'UIKit'
s.requires_arc = true
s.dependency 'AFNetworking', '~> 3.1'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = "FlyImage", 'FlyImage/**/*.{h,m}'
end
s.subspec 'WebP' do |webp|
webp.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) FLYIMAGE_WEBP=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
webp.watchos.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) FLYIMAGE_WEBP=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
}
webp.dependency 'FlyImage/Core'
webp.dependency 'libwebp'
end
end