Skip to content

Commit b62f9de

Browse files
committed
Updating example projects
1 parent f7dc557 commit b62f9de

7 files changed

Lines changed: 128 additions & 79 deletions

File tree

Examples/DynamicColorExample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
CEAF67911CA2D342008DC3A2 /* DynamicColor+RGBA.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEAF678C1CA2D342008DC3A2 /* DynamicColor+RGBA.swift */; };
7575
CEB2DF961D38EA1300DC0FDA /* DynamicColorArrayTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEB2DF951D38EA1300DC0FDA /* DynamicColorArrayTests.swift */; };
7676
CEB2DF971D38EA1300DC0FDA /* DynamicColorArrayTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEB2DF951D38EA1300DC0FDA /* DynamicColorArrayTests.swift */; };
77+
CEBD6FEE1D81CD9D00D75349 /* HeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBE7E101D7DEBE700B27BAD /* HeaderView.swift */; };
7778
CEBE7E111D7DEBE700B27BAD /* HeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBE7E101D7DEBE700B27BAD /* HeaderView.swift */; };
7879
CECBCD861B2B6C5E0047E731 /* DynamicColor.h in Headers */ = {isa = PBXBuildFile; fileRef = CECBCD851B2B6C5E0047E731 /* DynamicColor.h */; settings = {ATTRIBUTES = (Public, ); }; };
7980
CECBCD981B2B6C5E0047E731 /* DynamicColor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CECBCD811B2B6C5E0047E731 /* DynamicColor.framework */; };
@@ -655,6 +656,7 @@
655656
CEAF678F1CA2D342008DC3A2 /* DynamicColor+RGBA.swift in Sources */,
656657
CE5D64831D35230E005DEE4E /* DynamicColor+Lab.swift in Sources */,
657658
CEEB28E01BE27401001A74E8 /* ColorCellView.swift in Sources */,
659+
CEBD6FEE1D81CD9D00D75349 /* HeaderView.swift in Sources */,
658660
CE4E1F071D819AEC00D2AC35 /* DynamicColorSpace.swift in Sources */,
659661
CE5D647D1D35074B005DEE4E /* Utils.swift in Sources */,
660662
CEAF67891CA2D22E008DC3A2 /* DynamicColor+Deriving.swift in Sources */,

Examples/WatchOSExample WatchKit Extension/InterfaceController.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class InterfaceController: WKInterfaceController {
1313
@IBOutlet var tableView: WKInterfaceTable!
1414

1515
private lazy var colors: [(String, UIColor)] = {
16-
let mainColor = UIColor(hexString: "#c0392b")
16+
let mainColor = DynamicColor(hexString: "#c0392b")
1717

1818
return [
1919
("Original", mainColor),
@@ -25,15 +25,15 @@ class InterfaceController: WKInterfaceController {
2525
("Adjusted", mainColor.adjustedHue(amount: 45)),
2626
("Complemented", mainColor.complemented()),
2727
("Inverted", mainColor.inverted()),
28-
("Mix Blue", mainColor.mixed(color: .blue())),
29-
("Mix Green", mainColor.mixed(color: .green())),
30-
("Mix Yellow", mainColor.mixed(color: .yellow())),
28+
("Mix Blue", mainColor.mixed(withColor: .blue)),
29+
("Mix Green", mainColor.mixed(withColor: .green)),
30+
("Mix Yellow", mainColor.mixed(withColor: .yellow)),
3131
("Tinted", mainColor.tinted()),
3232
("Shaded", mainColor.shaded())
3333
]
3434
}()
35-
36-
override func awake(withContext context: AnyObject?) {
35+
36+
override func awake(withContext context: Any?) {
3737
super.awake(withContext: context)
3838

3939
// Configure interface objects here.

Examples/WatchOSExample.xcodeproj/project.pbxproj

Lines changed: 78 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,32 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
CE5D64941D37F4E8005DEE4E /* DynamicColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648C1D37F4E8005DEE4E /* DynamicColor.swift */; };
11-
CE5D64951D37F4E8005DEE4E /* DynamicColor+Deriving.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648D1D37F4E8005DEE4E /* DynamicColor+Deriving.swift */; };
12-
CE5D64961D37F4E8005DEE4E /* DynamicColor+HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648E1D37F4E8005DEE4E /* DynamicColor+HSL.swift */; };
13-
CE5D64971D37F4E8005DEE4E /* DynamicColor+Lab.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648F1D37F4E8005DEE4E /* DynamicColor+Lab.swift */; };
14-
CE5D64981D37F4E8005DEE4E /* DynamicColor+RGBA.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64901D37F4E8005DEE4E /* DynamicColor+RGBA.swift */; };
15-
CE5D64991D37F4E8005DEE4E /* DynamicColor+XYZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64911D37F4E8005DEE4E /* DynamicColor+XYZ.swift */; };
16-
CE5D649A1D37F4E8005DEE4E /* HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64921D37F4E8005DEE4E /* HSL.swift */; };
17-
CE5D649B1D37F4E8005DEE4E /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64931D37F4E8005DEE4E /* Utils.swift */; };
18-
CE5D64A41D37F509005DEE4E /* DynamicColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648C1D37F4E8005DEE4E /* DynamicColor.swift */; };
19-
CE5D64A51D37F509005DEE4E /* DynamicColor+Deriving.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648D1D37F4E8005DEE4E /* DynamicColor+Deriving.swift */; };
20-
CE5D64A61D37F509005DEE4E /* DynamicColor+HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648E1D37F4E8005DEE4E /* DynamicColor+HSL.swift */; };
21-
CE5D64A71D37F509005DEE4E /* DynamicColor+Lab.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D648F1D37F4E8005DEE4E /* DynamicColor+Lab.swift */; };
22-
CE5D64A81D37F509005DEE4E /* DynamicColor+RGBA.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64901D37F4E8005DEE4E /* DynamicColor+RGBA.swift */; };
23-
CE5D64A91D37F509005DEE4E /* DynamicColor+XYZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64911D37F4E8005DEE4E /* DynamicColor+XYZ.swift */; };
24-
CE5D64AA1D37F509005DEE4E /* HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64921D37F4E8005DEE4E /* HSL.swift */; };
25-
CE5D64AB1D37F509005DEE4E /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE5D64931D37F4E8005DEE4E /* Utils.swift */; };
10+
CEBD6FD41D81CC2D00D75349 /* Array.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FC71D81CC2D00D75349 /* Array.swift */; };
11+
CEBD6FD51D81CC2D00D75349 /* DynamicColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FC81D81CC2D00D75349 /* DynamicColor.swift */; };
12+
CEBD6FD61D81CC2D00D75349 /* DynamicColor+Deriving.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FC91D81CC2D00D75349 /* DynamicColor+Deriving.swift */; };
13+
CEBD6FD71D81CC2D00D75349 /* DynamicColor+HSB.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCA1D81CC2D00D75349 /* DynamicColor+HSB.swift */; };
14+
CEBD6FD81D81CC2D00D75349 /* DynamicColor+HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCB1D81CC2D00D75349 /* DynamicColor+HSL.swift */; };
15+
CEBD6FD91D81CC2D00D75349 /* DynamicColor+Lab.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCC1D81CC2D00D75349 /* DynamicColor+Lab.swift */; };
16+
CEBD6FDA1D81CC2D00D75349 /* DynamicColor+Mixing.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCD1D81CC2D00D75349 /* DynamicColor+Mixing.swift */; };
17+
CEBD6FDB1D81CC2D00D75349 /* DynamicColor+RGBA.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCE1D81CC2D00D75349 /* DynamicColor+RGBA.swift */; };
18+
CEBD6FDC1D81CC2D00D75349 /* DynamicColor+XYZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCF1D81CC2D00D75349 /* DynamicColor+XYZ.swift */; };
19+
CEBD6FDD1D81CC2D00D75349 /* DynamicColorSpace.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD01D81CC2D00D75349 /* DynamicColorSpace.swift */; };
20+
CEBD6FDE1D81CC2D00D75349 /* DynamicGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD11D81CC2D00D75349 /* DynamicGradient.swift */; };
21+
CEBD6FDF1D81CC2D00D75349 /* HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD21D81CC2D00D75349 /* HSL.swift */; };
22+
CEBD6FE01D81CC2D00D75349 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD31D81CC2D00D75349 /* Utils.swift */; };
23+
CEBD6FE11D81CC4F00D75349 /* Array.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FC71D81CC2D00D75349 /* Array.swift */; };
24+
CEBD6FE21D81CC4F00D75349 /* DynamicColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FC81D81CC2D00D75349 /* DynamicColor.swift */; };
25+
CEBD6FE31D81CC4F00D75349 /* DynamicColor+Deriving.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FC91D81CC2D00D75349 /* DynamicColor+Deriving.swift */; };
26+
CEBD6FE41D81CC4F00D75349 /* DynamicColor+HSB.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCA1D81CC2D00D75349 /* DynamicColor+HSB.swift */; };
27+
CEBD6FE51D81CC4F00D75349 /* DynamicColor+HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCB1D81CC2D00D75349 /* DynamicColor+HSL.swift */; };
28+
CEBD6FE61D81CC4F00D75349 /* DynamicColor+Lab.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCC1D81CC2D00D75349 /* DynamicColor+Lab.swift */; };
29+
CEBD6FE71D81CC4F00D75349 /* DynamicColor+Mixing.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCD1D81CC2D00D75349 /* DynamicColor+Mixing.swift */; };
30+
CEBD6FE81D81CC4F00D75349 /* DynamicColor+RGBA.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCE1D81CC2D00D75349 /* DynamicColor+RGBA.swift */; };
31+
CEBD6FE91D81CC4F00D75349 /* DynamicColor+XYZ.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FCF1D81CC2D00D75349 /* DynamicColor+XYZ.swift */; };
32+
CEBD6FEA1D81CC4F00D75349 /* DynamicColorSpace.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD01D81CC2D00D75349 /* DynamicColorSpace.swift */; };
33+
CEBD6FEB1D81CC4F00D75349 /* DynamicGradient.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD11D81CC2D00D75349 /* DynamicGradient.swift */; };
34+
CEBD6FEC1D81CC4F00D75349 /* HSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD21D81CC2D00D75349 /* HSL.swift */; };
35+
CEBD6FED1D81CC4F00D75349 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD6FD31D81CC2D00D75349 /* Utils.swift */; };
2636
CEEB28F11BE29DCF001A74E8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEEB28F01BE29DCF001A74E8 /* AppDelegate.swift */; };
2737
CEEB28F31BE29DCF001A74E8 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEEB28F21BE29DCF001A74E8 /* ViewController.swift */; };
2838
CEEB28F61BE29DCF001A74E8 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CEEB28F41BE29DCF001A74E8 /* Main.storyboard */; };
@@ -81,14 +91,19 @@
8191
/* End PBXCopyFilesBuildPhase section */
8292

8393
/* Begin PBXFileReference section */
84-
CE5D648C1D37F4E8005DEE4E /* DynamicColor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DynamicColor.swift; sourceTree = "<group>"; };
85-
CE5D648D1D37F4E8005DEE4E /* DynamicColor+Deriving.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+Deriving.swift"; sourceTree = "<group>"; };
86-
CE5D648E1D37F4E8005DEE4E /* DynamicColor+HSL.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+HSL.swift"; sourceTree = "<group>"; };
87-
CE5D648F1D37F4E8005DEE4E /* DynamicColor+Lab.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+Lab.swift"; sourceTree = "<group>"; };
88-
CE5D64901D37F4E8005DEE4E /* DynamicColor+RGBA.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+RGBA.swift"; sourceTree = "<group>"; };
89-
CE5D64911D37F4E8005DEE4E /* DynamicColor+XYZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+XYZ.swift"; sourceTree = "<group>"; };
90-
CE5D64921D37F4E8005DEE4E /* HSL.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HSL.swift; sourceTree = "<group>"; };
91-
CE5D64931D37F4E8005DEE4E /* Utils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = "<group>"; };
94+
CEBD6FC71D81CC2D00D75349 /* Array.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Array.swift; sourceTree = "<group>"; };
95+
CEBD6FC81D81CC2D00D75349 /* DynamicColor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DynamicColor.swift; sourceTree = "<group>"; };
96+
CEBD6FC91D81CC2D00D75349 /* DynamicColor+Deriving.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+Deriving.swift"; sourceTree = "<group>"; };
97+
CEBD6FCA1D81CC2D00D75349 /* DynamicColor+HSB.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+HSB.swift"; sourceTree = "<group>"; };
98+
CEBD6FCB1D81CC2D00D75349 /* DynamicColor+HSL.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+HSL.swift"; sourceTree = "<group>"; };
99+
CEBD6FCC1D81CC2D00D75349 /* DynamicColor+Lab.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+Lab.swift"; sourceTree = "<group>"; };
100+
CEBD6FCD1D81CC2D00D75349 /* DynamicColor+Mixing.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+Mixing.swift"; sourceTree = "<group>"; };
101+
CEBD6FCE1D81CC2D00D75349 /* DynamicColor+RGBA.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+RGBA.swift"; sourceTree = "<group>"; };
102+
CEBD6FCF1D81CC2D00D75349 /* DynamicColor+XYZ.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "DynamicColor+XYZ.swift"; sourceTree = "<group>"; };
103+
CEBD6FD01D81CC2D00D75349 /* DynamicColorSpace.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DynamicColorSpace.swift; sourceTree = "<group>"; };
104+
CEBD6FD11D81CC2D00D75349 /* DynamicGradient.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DynamicGradient.swift; sourceTree = "<group>"; };
105+
CEBD6FD21D81CC2D00D75349 /* HSL.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HSL.swift; sourceTree = "<group>"; };
106+
CEBD6FD31D81CC2D00D75349 /* Utils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Utils.swift; sourceTree = "<group>"; };
92107
CEEB28ED1BE29DCF001A74E8 /* WatchOSExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WatchOSExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
93108
CEEB28F01BE29DCF001A74E8 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
94109
CEEB28F21BE29DCF001A74E8 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
@@ -129,14 +144,19 @@
129144
CEACBD141C84EAEB00193E0E /* Sources */ = {
130145
isa = PBXGroup;
131146
children = (
132-
CE5D648C1D37F4E8005DEE4E /* DynamicColor.swift */,
133-
CE5D648D1D37F4E8005DEE4E /* DynamicColor+Deriving.swift */,
134-
CE5D648E1D37F4E8005DEE4E /* DynamicColor+HSL.swift */,
135-
CE5D648F1D37F4E8005DEE4E /* DynamicColor+Lab.swift */,
136-
CE5D64901D37F4E8005DEE4E /* DynamicColor+RGBA.swift */,
137-
CE5D64911D37F4E8005DEE4E /* DynamicColor+XYZ.swift */,
138-
CE5D64921D37F4E8005DEE4E /* HSL.swift */,
139-
CE5D64931D37F4E8005DEE4E /* Utils.swift */,
147+
CEBD6FC71D81CC2D00D75349 /* Array.swift */,
148+
CEBD6FC81D81CC2D00D75349 /* DynamicColor.swift */,
149+
CEBD6FC91D81CC2D00D75349 /* DynamicColor+Deriving.swift */,
150+
CEBD6FCA1D81CC2D00D75349 /* DynamicColor+HSB.swift */,
151+
CEBD6FCB1D81CC2D00D75349 /* DynamicColor+HSL.swift */,
152+
CEBD6FCC1D81CC2D00D75349 /* DynamicColor+Lab.swift */,
153+
CEBD6FCD1D81CC2D00D75349 /* DynamicColor+Mixing.swift */,
154+
CEBD6FCE1D81CC2D00D75349 /* DynamicColor+RGBA.swift */,
155+
CEBD6FCF1D81CC2D00D75349 /* DynamicColor+XYZ.swift */,
156+
CEBD6FD01D81CC2D00D75349 /* DynamicColorSpace.swift */,
157+
CEBD6FD11D81CC2D00D75349 /* DynamicGradient.swift */,
158+
CEBD6FD21D81CC2D00D75349 /* HSL.swift */,
159+
CEBD6FD31D81CC2D00D75349 /* Utils.swift */,
140160
);
141161
name = Sources;
142162
path = ../Sources;
@@ -332,34 +352,44 @@
332352
isa = PBXSourcesBuildPhase;
333353
buildActionMask = 2147483647;
334354
files = (
355+
CEBD6FD61D81CC2D00D75349 /* DynamicColor+Deriving.swift in Sources */,
356+
CEBD6FDF1D81CC2D00D75349 /* HSL.swift in Sources */,
357+
CEBD6FD81D81CC2D00D75349 /* DynamicColor+HSL.swift in Sources */,
358+
CEBD6FDA1D81CC2D00D75349 /* DynamicColor+Mixing.swift in Sources */,
359+
CEBD6FD41D81CC2D00D75349 /* Array.swift in Sources */,
360+
CEBD6FE01D81CC2D00D75349 /* Utils.swift in Sources */,
361+
CEBD6FD51D81CC2D00D75349 /* DynamicColor.swift in Sources */,
335362
CEEB28F31BE29DCF001A74E8 /* ViewController.swift in Sources */,
336-
CE5D64951D37F4E8005DEE4E /* DynamicColor+Deriving.swift in Sources */,
337-
CE5D64961D37F4E8005DEE4E /* DynamicColor+HSL.swift in Sources */,
338-
CE5D64991D37F4E8005DEE4E /* DynamicColor+XYZ.swift in Sources */,
339-
CE5D64981D37F4E8005DEE4E /* DynamicColor+RGBA.swift in Sources */,
340-
CE5D649B1D37F4E8005DEE4E /* Utils.swift in Sources */,
341-
CE5D64941D37F4E8005DEE4E /* DynamicColor.swift in Sources */,
342-
CE5D649A1D37F4E8005DEE4E /* HSL.swift in Sources */,
343363
CEEB28F11BE29DCF001A74E8 /* AppDelegate.swift in Sources */,
344-
CE5D64971D37F4E8005DEE4E /* DynamicColor+Lab.swift in Sources */,
364+
CEBD6FDB1D81CC2D00D75349 /* DynamicColor+RGBA.swift in Sources */,
365+
CEBD6FD71D81CC2D00D75349 /* DynamicColor+HSB.swift in Sources */,
366+
CEBD6FDC1D81CC2D00D75349 /* DynamicColor+XYZ.swift in Sources */,
367+
CEBD6FDD1D81CC2D00D75349 /* DynamicColorSpace.swift in Sources */,
368+
CEBD6FDE1D81CC2D00D75349 /* DynamicGradient.swift in Sources */,
369+
CEBD6FD91D81CC2D00D75349 /* DynamicColor+Lab.swift in Sources */,
345370
);
346371
runOnlyForDeploymentPostprocessing = 0;
347372
};
348373
CEEB290A1BE29DD0001A74E8 /* Sources */ = {
349374
isa = PBXSourcesBuildPhase;
350375
buildActionMask = 2147483647;
351376
files = (
352-
CE5D64A51D37F509005DEE4E /* DynamicColor+Deriving.swift in Sources */,
353-
CE5D64AA1D37F509005DEE4E /* HSL.swift in Sources */,
354-
CE5D64A61D37F509005DEE4E /* DynamicColor+HSL.swift in Sources */,
355377
CEEB292A1BE29E1D001A74E8 /* RowController.swift in Sources */,
356-
CE5D64A41D37F509005DEE4E /* DynamicColor.swift in Sources */,
378+
CEBD6FEA1D81CC4F00D75349 /* DynamicColorSpace.swift in Sources */,
379+
CEBD6FE31D81CC4F00D75349 /* DynamicColor+Deriving.swift in Sources */,
380+
CEBD6FE41D81CC4F00D75349 /* DynamicColor+HSB.swift in Sources */,
381+
CEBD6FE91D81CC4F00D75349 /* DynamicColor+XYZ.swift in Sources */,
382+
CEBD6FE71D81CC4F00D75349 /* DynamicColor+Mixing.swift in Sources */,
383+
CEBD6FEC1D81CC4F00D75349 /* HSL.swift in Sources */,
384+
CEBD6FED1D81CC4F00D75349 /* Utils.swift in Sources */,
385+
CEBD6FE81D81CC4F00D75349 /* DynamicColor+RGBA.swift in Sources */,
386+
CEBD6FEB1D81CC4F00D75349 /* DynamicGradient.swift in Sources */,
387+
CEBD6FE11D81CC4F00D75349 /* Array.swift in Sources */,
357388
CEEB29161BE29DD0001A74E8 /* ExtensionDelegate.swift in Sources */,
358-
CE5D64A81D37F509005DEE4E /* DynamicColor+RGBA.swift in Sources */,
359-
CE5D64AB1D37F509005DEE4E /* Utils.swift in Sources */,
360-
CE5D64A91D37F509005DEE4E /* DynamicColor+XYZ.swift in Sources */,
361-
CE5D64A71D37F509005DEE4E /* DynamicColor+Lab.swift in Sources */,
389+
CEBD6FE61D81CC4F00D75349 /* DynamicColor+Lab.swift in Sources */,
390+
CEBD6FE21D81CC4F00D75349 /* DynamicColor.swift in Sources */,
362391
CEEB29141BE29DD0001A74E8 /* InterfaceController.swift in Sources */,
392+
CEBD6FE51D81CC4F00D75349 /* DynamicColor+HSL.swift in Sources */,
363393
);
364394
runOnlyForDeploymentPostprocessing = 0;
365395
};

Examples/WatchOSExample/AppDelegate.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1313

1414
var window: UIWindow?
1515

16-
17-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
16+
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
1817
// Override point for customization after application launch.
1918
return true
2019
}

0 commit comments

Comments
 (0)