-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWTExtension.podspec
60 lines (50 loc) · 1.85 KB
/
WTExtension.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Pod::Spec.new do |s|
s.name = 'WTExtension'
s.version = '1.2.1'
s.summary = 'Some useful categories used in other public libraries.'
s.homepage = 'https://github.com/waterlou/WTExtension'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'waterlou' => 'https://github.com/waterlou' }
s.platform = :ios, '5.0'
s.requires_arc = true
s.source = { :git => 'https://github.com/waterlou/WTExtension.git', :tag => "#{s.version}" }
s.subspec 'UIImage+WTExtension' do |l|
l.source_files = 'UIImage+WTExtension/*.{h,m}'
l.frameworks = 'UIKit', 'QuartzCore'
end
s.subspec 'UIView+WTExtension' do |l|
l.source_files = 'UIView+WTExtension/*.{h,m}'
l.frameworks = 'UIKit'
end
s.subspec 'UIView+WTLayer' do |l|
l.source_files = 'UIView+WTLayer/*.{h,m}'
l.frameworks = 'UIKit', 'QuartzCore'
end
s.subspec 'UIDevice+WTExtension' do |l|
l.source_files = 'UIDevice+WTExtension/*.{h,m}'
l.frameworks = 'UIKit'
end
s.subspec 'UIWebView+WTExtension' do |l|
l.source_files = 'UIWebView+WTExtension/*.{h,m}'
l.frameworks = 'UIKit'
end
s.subspec 'UIImage+WTFaceDetection' do |l|
l.source_files = 'UIImage+WTFaceDetection/*.{h,m}'
l.frameworks = 'UIKit', 'CoreImage'
end
# Filters
s.subspec 'UIImage+WTFilterFastBlur' do |l|
l.source_files = 'UIImage+WTFilter/UIImage+WTFilterFastBlur.{h,m}'
l.frameworks = 'UIKit', 'Accelerate'
end
s.subspec 'UIImage+WTFilterBlur' do |l|
l.source_files = 'UIImage+WTFilter/UIImage+WTFilterBlur.{h,m}'
l.frameworks = 'UIKit', 'CoreImage'
end
# All Filters
s.subspec 'UIImage+WTFilter' do |l|
l.source_files = 'UIImage+WTFilter/UIImage+WTFilter.h'
l.dependency 'WTExtension/UIImage+WTFilterFastBlur'
l.dependency 'WTExtension/UIImage+WTFilterBlur'
end
end