Skip to content

Commit f99e81a

Browse files
committed
v1.2 - add national flags
1 parent e2687da commit f99e81a

File tree

10 files changed

+348
-19
lines changed

10 files changed

+348
-19
lines changed

DailyItalianWord.xcodeproj/project.pbxproj

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/* Begin PBXBuildFile section */
1010
0356CE2527B9A78300CDBB0A /* Morse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0356CE2427B9A78300CDBB0A /* Morse.swift */; };
1111
0356CE2627B9A91400CDBB0A /* Morse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0356CE2427B9A78300CDBB0A /* Morse.swift */; };
12+
0364956227CEE81400813442 /* NationalFlags.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0364956127CEE81400813442 /* NationalFlags.swift */; };
13+
0364956327CEE81400813442 /* NationalFlags.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0364956127CEE81400813442 /* NationalFlags.swift */; };
1214
08684A74253E30E000AACF77 /* SupportedLanguages.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08684A73253E30E000AACF77 /* SupportedLanguages.swift */; };
1315
08684A75253E30E000AACF77 /* SupportedLanguages.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08684A73253E30E000AACF77 /* SupportedLanguages.swift */; };
1416
08684A7A253E46B400AACF77 /* Italian.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08684A79253E46B400AACF77 /* Italian.swift */; };
@@ -63,6 +65,7 @@
6365

6466
/* Begin PBXFileReference section */
6567
0356CE2427B9A78300CDBB0A /* Morse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Morse.swift; sourceTree = "<group>"; };
68+
0364956127CEE81400813442 /* NationalFlags.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NationalFlags.swift; sourceTree = "<group>"; };
6669
08684A73253E30E000AACF77 /* SupportedLanguages.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SupportedLanguages.swift; sourceTree = "<group>"; };
6770
08684A79253E46B400AACF77 /* Italian.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Italian.swift; sourceTree = "<group>"; };
6871
08684A7E253E46D300AACF77 /* LanguageFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LanguageFactory.swift; sourceTree = "<group>"; };
@@ -116,6 +119,7 @@
116119
08684A8C253E61BF00AACF77 /* French.swift */,
117120
08684A91253E621800AACF77 /* NoLang.swift */,
118121
08684A96253E755C00AACF77 /* Japanese.swift */,
122+
0364956127CEE81400813442 /* NationalFlags.swift */,
119123
);
120124
path = Languages;
121125
sourceTree = "<group>";
@@ -285,6 +289,7 @@
285289
buildActionMask = 2147483647;
286290
files = (
287291
0356CE2527B9A78300CDBB0A /* Morse.swift in Sources */,
292+
0364956227CEE81400813442 /* NationalFlags.swift in Sources */,
288293
08684A97253E755D00AACF77 /* Japanese.swift in Sources */,
289294
08AE64B82531EC5E00AB157E /* ContentView.swift in Sources */,
290295
08684A8D253E61BF00AACF77 /* French.swift in Sources */,
@@ -303,6 +308,7 @@
303308
buildActionMask = 2147483647;
304309
files = (
305310
08684A98253E755D00AACF77 /* Japanese.swift in Sources */,
311+
0364956327CEE81400813442 /* NationalFlags.swift in Sources */,
306312
08AE64D62531EC7700AB157E /* DailyWidget.intentdefinition in Sources */,
307313
08684A8E253E61BF00AACF77 /* French.swift in Sources */,
308314
08684A7B253E46B400AACF77 /* Italian.swift in Sources */,
@@ -451,7 +457,7 @@
451457
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
452458
CODE_SIGN_ENTITLEMENTS = DailyItalianWord/DailyItalianWord.entitlements;
453459
CODE_SIGN_STYLE = Automatic;
454-
CURRENT_PROJECT_VERSION = 5;
460+
CURRENT_PROJECT_VERSION = 1;
455461
DEVELOPMENT_ASSET_PATHS = "\"DailyItalianWord/Preview Content\"";
456462
DEVELOPMENT_TEAM = N7C8DEK852;
457463
ENABLE_PREVIEWS = YES;
@@ -461,9 +467,10 @@
461467
"$(inherited)",
462468
"@executable_path/Frameworks",
463469
);
464-
MARKETING_VERSION = 1.1;
470+
MARKETING_VERSION = 1.2;
465471
PRODUCT_BUNDLE_IDENTIFIER = com.joshspicer.DailyItalianWord;
466472
PRODUCT_NAME = "$(TARGET_NAME)";
473+
SUPPORTS_MACCATALYST = YES;
467474
SWIFT_VERSION = 5.0;
468475
TARGETED_DEVICE_FAMILY = "1,2";
469476
};
@@ -477,7 +484,7 @@
477484
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
478485
CODE_SIGN_ENTITLEMENTS = DailyItalianWord/DailyItalianWord.entitlements;
479486
CODE_SIGN_STYLE = Automatic;
480-
CURRENT_PROJECT_VERSION = 5;
487+
CURRENT_PROJECT_VERSION = 1;
481488
DEVELOPMENT_ASSET_PATHS = "\"DailyItalianWord/Preview Content\"";
482489
DEVELOPMENT_TEAM = N7C8DEK852;
483490
ENABLE_PREVIEWS = YES;
@@ -487,9 +494,10 @@
487494
"$(inherited)",
488495
"@executable_path/Frameworks",
489496
);
490-
MARKETING_VERSION = 1.1;
497+
MARKETING_VERSION = 1.2;
491498
PRODUCT_BUNDLE_IDENTIFIER = com.joshspicer.DailyItalianWord;
492499
PRODUCT_NAME = "$(TARGET_NAME)";
500+
SUPPORTS_MACCATALYST = YES;
493501
SWIFT_VERSION = 5.0;
494502
TARGETED_DEVICE_FAMILY = "1,2";
495503
};
@@ -502,18 +510,19 @@
502510
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
503511
CODE_SIGN_ENTITLEMENTS = DailyWidgetExtension.entitlements;
504512
CODE_SIGN_STYLE = Automatic;
505-
CURRENT_PROJECT_VERSION = 5;
513+
CURRENT_PROJECT_VERSION = 1;
506514
DEVELOPMENT_TEAM = N7C8DEK852;
507515
INFOPLIST_FILE = DailyWidget/Info.plist;
508516
LD_RUNPATH_SEARCH_PATHS = (
509517
"$(inherited)",
510518
"@executable_path/Frameworks",
511519
"@executable_path/../../Frameworks",
512520
);
513-
MARKETING_VERSION = 1.1;
521+
MARKETING_VERSION = 1.2;
514522
PRODUCT_BUNDLE_IDENTIFIER = com.joshspicer.DailyItalianWord.widget;
515523
PRODUCT_NAME = "$(TARGET_NAME)";
516524
SKIP_INSTALL = YES;
525+
SUPPORTS_MACCATALYST = YES;
517526
SWIFT_VERSION = 5.0;
518527
TARGETED_DEVICE_FAMILY = "1,2";
519528
};
@@ -526,18 +535,19 @@
526535
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
527536
CODE_SIGN_ENTITLEMENTS = DailyWidgetExtension.entitlements;
528537
CODE_SIGN_STYLE = Automatic;
529-
CURRENT_PROJECT_VERSION = 5;
538+
CURRENT_PROJECT_VERSION = 1;
530539
DEVELOPMENT_TEAM = N7C8DEK852;
531540
INFOPLIST_FILE = DailyWidget/Info.plist;
532541
LD_RUNPATH_SEARCH_PATHS = (
533542
"$(inherited)",
534543
"@executable_path/Frameworks",
535544
"@executable_path/../../Frameworks",
536545
);
537-
MARKETING_VERSION = 1.1;
546+
MARKETING_VERSION = 1.2;
538547
PRODUCT_BUNDLE_IDENTIFIER = com.joshspicer.DailyItalianWord.widget;
539548
PRODUCT_NAME = "$(TARGET_NAME)";
540549
SKIP_INSTALL = YES;
550+
SUPPORTS_MACCATALYST = YES;
541551
SWIFT_VERSION = 5.0;
542552
TARGETED_DEVICE_FAMILY = "1,2";
543553
};

DailyItalianWord/DailyItalianWord.entitlements

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
57
<key>com.apple.security.application-groups</key>
68
<array>
79
<string>group.com.joshspicer.dailyword</string>

DailyItalianWord/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
2222
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>LSApplicationCategoryType</key>
24+
<string>public.app-category.education</string>
2325
<key>LSRequiresIPhoneOS</key>
2426
<true/>
2527
<key>UIApplicationSceneManifest</key>

DailyItalianWord/Languages/LanguageFactory.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class LanguageFactory {
2525
return Japanese()
2626
case .Morse:
2727
return Morse()
28+
case .NationalFlags:
29+
return NationalFlags()
2830
default:
2931
return NoLang()
3032

0 commit comments

Comments
 (0)