Skip to content

Commit 630bb96

Browse files
authored
Complications update (#389)
* Fix display of utilitarian family * Add missing files
1 parent e8b207e commit 630bb96

21 files changed

+341
-34
lines changed

Loop.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,6 +1742,7 @@
17421742
43A943961B926B7B0051FA24 /* Debug */ = {
17431743
isa = XCBuildConfiguration;
17441744
buildSettings = {
1745+
ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
17451746
CODE_SIGN_IDENTITY = "iPhone Developer";
17461747
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Developer";
17471748
DEVELOPMENT_TEAM = "";
@@ -1759,6 +1760,7 @@
17591760
43A943971B926B7B0051FA24 /* Release */ = {
17601761
isa = XCBuildConfiguration;
17611762
buildSettings = {
1763+
ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
17621764
CODE_SIGN_IDENTITY = "iPhone Developer";
17631765
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Developer";
17641766
DEVELOPMENT_TEAM = "";
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"tintColor" : {
3+
"green" : 0.5843138,
4+
"red" : 1,
5+
"alpha" : 1,
6+
"blue" : 0
7+
},
8+
"class" : "CLKComplicationTemplateUtilitarianLargeFlat",
9+
"textProvider" : {
10+
"textProviders" : [
11+
{
12+
"shortText" : "120",
13+
"class" : "CLKLocalizableSimpleTextProvider",
14+
"text" : "120↘︎"
15+
},
16+
{
17+
"class" : "CLKLocalizableSimpleTextProvider",
18+
"text" : "75"
19+
},
20+
{
21+
"class" : "CLKRelativeDateTextProvider",
22+
"relativeDateStyle" : 0,
23+
"calendarUnits" : 64,
24+
"date" : 509858751.802992
25+
}
26+
],
27+
"class" : "CLKLocalizableCompoundTextProvider",
28+
"formatKey" : "UtilitarianLargeFlat"
29+
},
30+
"version" : 30000
31+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"tintColor" : {
3+
"green" : 0.5843138,
4+
"red" : 1,
5+
"alpha" : 1,
6+
"blue" : 0
7+
},
8+
"class" : "CLKComplicationTemplateUtilitarianSmallFlat",
9+
"textProvider" : {
10+
"textProviders" : [
11+
{
12+
"shortText" : "120",
13+
"class" : "CLKLocalizableSimpleTextProvider",
14+
"text" : "120↘︎"
15+
},
16+
{
17+
"class" : "CLKRelativeDateTextProvider",
18+
"relativeDateStyle" : 0,
19+
"calendarUnits" : 64,
20+
"date" : 509858751.808347
21+
}
22+
],
23+
"class" : "CLKLocalizableCompoundTextProvider",
24+
"formatKey" : "UtilitarianSmallFlat"
25+
},
26+
"version" : 30000
27+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"tintColor" : {
3+
"green" : 0.5843138,
4+
"red" : 1,
5+
"alpha" : 1,
6+
"blue" : 0
7+
},
8+
"class" : "CLKComplicationTemplateModularLargeTallBody",
9+
"bodyTextProvider" : {
10+
"shortText" : "120",
11+
"class" : "CLKLocalizableSimpleTextProvider",
12+
"text" : "120↘︎"
13+
},
14+
"version" : 30000,
15+
"headerTextProvider" : {
16+
"class" : "CLKRelativeDateTextProvider",
17+
"relativeDateStyle" : 0,
18+
"calendarUnits" : 64,
19+
"date" : 509858751.805835
20+
}
21+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"tintColor" : {
3+
"green" : 0.5843138,
4+
"red" : 1,
5+
"alpha" : 1,
6+
"blue" : 0
7+
},
8+
"class" : "CLKComplicationTemplateCircularSmallSimpleText",
9+
"textProvider" : {
10+
"shortText" : "120",
11+
"class" : "CLKLocalizableSimpleTextProvider",
12+
"text" : "120↘︎"
13+
},
14+
"version" : 30000
15+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"tintColor" : {
3+
"green" : 0.5843138,
4+
"red" : 1,
5+
"alpha" : 1,
6+
"blue" : 0
7+
},
8+
"class" : "CLKComplicationTemplateModularSmallStackText",
9+
"highlightLine2" : false,
10+
"line2TextProvider" : {
11+
"class" : "CLKRelativeDateTextProvider",
12+
"relativeDateStyle" : 0,
13+
"calendarUnits" : 64,
14+
"date" : 509858751.798859
15+
},
16+
"version" : 30000,
17+
"line1TextProvider" : {
18+
"shortText" : "120",
19+
"class" : "CLKLocalizableSimpleTextProvider",
20+
"text" : "120↘︎"
21+
}
22+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"tintColor" : {
3+
"green" : 0.5843138,
4+
"red" : 1,
5+
"alpha" : 1,
6+
"blue" : 0
7+
},
8+
"class" : "CLKComplicationTemplateUtilitarianSmallFlat",
9+
"textProvider" : {
10+
"textProviders" : [
11+
{
12+
"shortText" : "120",
13+
"class" : "CLKLocalizableSimpleTextProvider",
14+
"text" : "120↘︎"
15+
},
16+
{
17+
"class" : "CLKRelativeDateTextProvider",
18+
"relativeDateStyle" : 0,
19+
"calendarUnits" : 64,
20+
"date" : 509858751.8126
21+
}
22+
],
23+
"class" : "CLKLocalizableCompoundTextProvider",
24+
"formatKey" : "UtilitarianSmallFlat"
25+
},
26+
"version" : 30000
27+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"tintColor" : {
3+
"green" : 0.5843138,
4+
"red" : 1,
5+
"alpha" : 1,
6+
"blue" : 0
7+
},
8+
"class" : "CLKComplicationTemplateExtraLargeStackText",
9+
"highlightLine2" : false,
10+
"line2TextProvider" : {
11+
"class" : "CLKRelativeDateTextProvider",
12+
"relativeDateStyle" : 0,
13+
"calendarUnits" : 64,
14+
"date" : 509858751.81526
15+
},
16+
"version" : 30000,
17+
"line1TextProvider" : {
18+
"shortText" : "120",
19+
"class" : "CLKLocalizableSimpleTextProvider",
20+
"text" : "120↘︎"
21+
}
22+
}

Loop/gallery.ckcomplication/Base.lproj/ckcomplication.strings

100755100644
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"120↘︎" = "120↘︎";
1111

1212
/* Utilitarian small flat format string (1: Glucose & Trend symbol) (2: Time) */
13-
"UtilitarianSmallFlat" = "%1@ %2@";
13+
"UtilitarianSmallFlat" = "%@ %@";
1414

15-
/* Utilitarian small flat format string (1: Glucose & Trend symbol) (2: Eventual Glucose) (3: Time) */
16-
"UtilitarianLargeFlat" = "%1@%2@ %3@";
15+
/* Utilitarian large flat format string (1: Glucose & Trend symbol) (2: Eventual Glucose) (3: Time) */
16+
"UtilitarianLargeFlat" = "%@%@ %@";
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"supported complication families" : {
3-
"3" : "7F209C4B-314F-4875-9072-3CFD6C18AE3A.json",
4-
"1" : "0912322A-F7BA-487C-B910-60ADD3B22910.json",
5-
"6" : "E5D4D16F-B048-454F-BAD4-A1D92E65F650.json",
6-
"4" : "2F588D19-9780-4727-B5CB-DFE7945469E4.json",
7-
"0" : "2A9C2659-183D-468D-A20D-704A6D9F7875.json",
8-
"7" : "1163D5A6-1BB9-41D4-B6A0-60DCDFD52EC3.json"
3+
"7" : "B1F1D9E8-541F-414D-AF5D-780D6B993FD9.json",
4+
"3" : "28F6F412-3A28-4CF6-A184-F6345627D8C8.json",
5+
"4" : "50FD3B5F-03E3-486D-A506-21DC4A3B4857.json",
6+
"0" : "5506FC7B-C7BA-439A-8075-7B1C5DE1114A.json",
7+
"1" : "3902026C-B841-4642-AD7B-1CA80FAC447D.json",
8+
"6" : "30ACFC76-BFF3-4761-9345-5C169460F920.json",
9+
"2" : "7F6C7226-52B7-406D-ACD2-7AB92587CBB4.json"
910
},
10-
"client ID" : "com.loopkit.Loop.watchkitapp.watchkitextension"
11+
"client ID" : "com.loudnate.Loop.watchkitapp.watchkitextension"
1112
}

0 commit comments

Comments
 (0)