-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathEasyDarkMode.podspec
77 lines (57 loc) · 2.43 KB
/
EasyDarkMode.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# Be sure to run `pod spec lint EasyDarkMode.podspec" to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = "EasyDarkMode"
s.version = "4.0.1"
s.summary = "This is a tool for developers to easily adapt dark mode in iOS 13."
s.description = <<-DESC
* Shortcut method to create UIColor with different user interface type (dark mode).
* Shortcut method to create UIImage with different user interface type (dark mode).
* Shortcut method to download remoate image with SDWebImage and create UIImage with different user interface type (dark mode).
* This code can work on from Xcode 9 to Xcode 11.
* It has an various deployment target version from iOS 8 to iOS 13.
DESC
s.homepage = "https://github.com/Elenionl/EasyDarkMode"
s.screenshots = "https://github.com/Elenionl/EasyDarkMode/raw/master/Sample/image_light.png?raw=true", "https://github.com/Elenionl/EasyDarkMode/raw/master/Sample/image_dark.png?raw=true"
s.license = "MIT"
s.author = { "Elenion" => "stellanxu@gmail.com" }
s.social_media_url = "https://github.com/Elenionl"
s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/Elenionl/EasyDarkMode.git", :tag => "#{s.version}" }
s.swift_versions = '5.0'
s.subspec "Core" do |ss|
ss.source_files = "EasyDarkMode"
end
s.subspec "Core-Swift" do |ss|
ss.source_files = "EasyDarkMode+Swift"
ss.dependency "EasyDarkMode/Core"
end
s.subspec "Remote" do |ss|
ss.source_files = "EasyDarkMode+Remote"
ss.dependency "EasyDarkMode/Core"
end
s.subspec "Remote-Swift" do |ss|
ss.source_files = "EasyDarkMode+Remote+Swift"
ss.dependency "EasyDarkMode/Remote"
ss.dependency "EasyDarkMode/Core-Swift"
end
s.subspec "SDWebImage" do |ss|
ss.source_files = "EasyDarkMode+SD"
ss.dependency "EasyDarkMode/Remote"
ss.dependency "SDWebImage"
end
s.subspec "SDWebImage-Swift" do |ss|
ss.dependency "EasyDarkMode/Remote-Swift"
end
s.subspec "Kingfisher" do |ss|
ss.source_files = "EasyDarkMode+KF"
ss.dependency "EasyDarkMode/Remote-Swift"
ss.dependency "Kingfisher"
end
s.default_subspec = "Core"
end