-
Notifications
You must be signed in to change notification settings - Fork 476
/
YBImageBrowser.podspec
54 lines (37 loc) · 1.52 KB
/
YBImageBrowser.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
Pod::Spec.new do |s|
s.name = "YBImageBrowser"
s.version = "3.0.9"
s.summary = "iOS image browser / iOS 图片浏览器"
s.description = <<-DESC
iOS 图片浏览器,功能强大,易于拓展,极致的性能优化和严格的内存控制让其运行更加的流畅和稳健。
DESC
s.homepage = "https://github.com/indulgeIn"
s.license = "MIT"
s.author = { "杨波" => "1106355439@qq.com" }
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/indulgeIn/YBImageBrowser.git", :tag => "#{s.version}" }
s.requires_arc = true
s.default_subspec = "Core"
s.subspec "Core" do |core|
core.source_files = "YBImageBrowser/**/*.{h,m}"
core.resources = "YBImageBrowser/YBImageBrowser.bundle"
core.dependency 'YYImage'
core.dependency 'SDWebImage', '>= 5.0.0'
end
s.subspec "NOSD" do |core|
core.source_files = "YBImageBrowser/**/*.{h,m}"
core.exclude_files = "YBImageBrowser/WebImageMediator/YBIBDefaultWebImageMediator.{h,m}"
core.resources = "YBImageBrowser/YBImageBrowser.bundle"
core.dependency 'YYImage'
end
s.subspec "Video" do |video|
video.source_files = "Video/*.{h,m}"
video.resources = "Video/YBImageBrowserVideo.bundle"
video.dependency 'YBImageBrowser/Core'
end
s.subspec "VideoNOSD" do |video|
video.source_files = "Video/*.{h,m}"
video.resources = "Video/YBImageBrowserVideo.bundle"
video.dependency 'YBImageBrowser/NOSD'
end
end