It's been so long I don't even know what I changed. Removed the contacts tab completely, before it was still in the app just not accessible. Switched over from RichTextView to iosMath saving about 4MB. Couple small design tweaks. Reduced total app size from 10MB to 4.5

This commit is contained in:
Isaac Greene 2023-06-06 10:42:22 -04:00
parent 0dc0267dbd
commit 099728c760
17 changed files with 222 additions and 395 deletions

View file

@ -11,24 +11,21 @@
6A0FD2522875F944006DF79D /* PacesUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A0FD2512875F944006DF79D /* PacesUITestsLaunchTests.swift */; }; 6A0FD2522875F944006DF79D /* PacesUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A0FD2512875F944006DF79D /* PacesUITestsLaunchTests.swift */; };
6A0FD25F2875FA14006DF79D /* PacesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A0FD25E2875FA14006DF79D /* PacesTests.swift */; }; 6A0FD25F2875FA14006DF79D /* PacesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A0FD25E2875FA14006DF79D /* PacesTests.swift */; };
6A5CEC52287691BE003D876C /* ChangeLogView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A5CEC51287691BE003D876C /* ChangeLogView.swift */; }; 6A5CEC52287691BE003D876C /* ChangeLogView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A5CEC51287691BE003D876C /* ChangeLogView.swift */; };
6ADBE40228D4DFF000821AA3 /* ComingSoonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6ADBE40128D4DFF000821AA3 /* ComingSoonView.swift */; };
6AEEF9632975D53F000E0B48 /* LaTeXView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AEEF9622975D53F000E0B48 /* LaTeXView.swift */; };
6AEEF9682976CBF9000E0B48 /* iosMath in Frameworks */ = {isa = PBXBuildFile; productRef = 6AEEF9672976CBF9000E0B48 /* iosMath */; };
850062C92802328F0095F121 /* TabViewData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850062C82802328F0095F121 /* TabViewData.swift */; }; 850062C92802328F0095F121 /* TabViewData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850062C82802328F0095F121 /* TabViewData.swift */; };
8502250E27FA5D0800FE8E95 /* ChangeLogData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8502250D27FA5D0800FE8E95 /* ChangeLogData.swift */; }; 8502250E27FA5D0800FE8E95 /* ChangeLogData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8502250D27FA5D0800FE8E95 /* ChangeLogData.swift */; };
850F8014284A7F6A0094580D /* DocsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F8013284A7F6A0094580D /* DocsView.swift */; }; 850F8014284A7F6A0094580D /* DocsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F8013284A7F6A0094580D /* DocsView.swift */; };
850F8016284A815C0094580D /* KnownIssues.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F8015284A815C0094580D /* KnownIssues.swift */; }; 850F8016284A815C0094580D /* KnownIssues.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F8015284A815C0094580D /* KnownIssues.swift */; };
850F8018284A83400094580D /* FeaturesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F8017284A83400094580D /* FeaturesView.swift */; }; 850F8018284A83400094580D /* FeaturesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F8017284A83400094580D /* FeaturesView.swift */; };
850F80202853F7790094580D /* LicenseView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F801F2853F7790094580D /* LicenseView.swift */; }; 850F80202853F7790094580D /* LicenseView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F801F2853F7790094580D /* LicenseView.swift */; };
850F80222853F7E30094580D /* SecretView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 850F80212853F7E30094580D /* SecretView.swift */; };
850F8027285437500094580D /* caleb.bost.duo.heic in Resources */ = {isa = PBXBuildFile; fileRef = 850F8023285437500094580D /* caleb.bost.duo.heic */; };
850F8028285437500094580D /* aiden.moore.states.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 850F8024285437500094580D /* aiden.moore.states.jpg */; };
850F8029285437500094580D /* isaac.greene.clouds.heic in Resources */ = {isa = PBXBuildFile; fileRef = 850F8025285437500094580D /* isaac.greene.clouds.heic */; };
850F802A285437500094580D /* jake.zimmerman.group.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 850F8026285437500094580D /* jake.zimmerman.group.jpg */; };
859298C928592F1F00D9D6CB /* Documentation.docc in Sources */ = {isa = PBXBuildFile; fileRef = 859298C828592F1F00D9D6CB /* Documentation.docc */; }; 859298C928592F1F00D9D6CB /* Documentation.docc in Sources */ = {isa = PBXBuildFile; fileRef = 859298C828592F1F00D9D6CB /* Documentation.docc */; };
85AAA0D627FA2DD600F4B9A1 /* SplitsApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AAA0D527FA2DD600F4B9A1 /* SplitsApp.swift */; }; 85AAA0D627FA2DD600F4B9A1 /* SplitsApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AAA0D527FA2DD600F4B9A1 /* SplitsApp.swift */; };
85AAA0D827FA2DD600F4B9A1 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AAA0D727FA2DD600F4B9A1 /* ContentView.swift */; }; 85AAA0D827FA2DD600F4B9A1 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AAA0D727FA2DD600F4B9A1 /* ContentView.swift */; };
85AAA0DA27FA2DDA00F4B9A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 85AAA0D927FA2DDA00F4B9A1 /* Assets.xcassets */; }; 85AAA0DA27FA2DDA00F4B9A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 85AAA0D927FA2DDA00F4B9A1 /* Assets.xcassets */; };
85AAA0DD27FA2DDA00F4B9A1 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 85AAA0DC27FA2DDA00F4B9A1 /* Preview Assets.xcassets */; }; 85AAA0DD27FA2DDA00F4B9A1 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 85AAA0DC27FA2DDA00F4B9A1 /* Preview Assets.xcassets */; };
85AAA0E627FA2EB100F4B9A1 /* HelpView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AAA0E527FA2EB100F4B9A1 /* HelpView.swift */; }; 85AAA0E627FA2EB100F4B9A1 /* HelpView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85AAA0E527FA2EB100F4B9A1 /* HelpView.swift */; };
85AAA0EB27FA2F7000F4B9A1 /* RichTextView in Frameworks */ = {isa = PBXBuildFile; productRef = 85AAA0EA27FA2F7000F4B9A1 /* RichTextView */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */ /* Begin PBXContainerItemProxy section */
@ -56,17 +53,15 @@
6A0FD25E2875FA14006DF79D /* PacesTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PacesTests.swift; sourceTree = "<group>"; }; 6A0FD25E2875FA14006DF79D /* PacesTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PacesTests.swift; sourceTree = "<group>"; };
6A5CEC51287691BE003D876C /* ChangeLogView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChangeLogView.swift; sourceTree = "<group>"; }; 6A5CEC51287691BE003D876C /* ChangeLogView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChangeLogView.swift; sourceTree = "<group>"; };
6AB17201286EB414005DED42 /* Splits.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Splits.entitlements; sourceTree = "<group>"; }; 6AB17201286EB414005DED42 /* Splits.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Splits.entitlements; sourceTree = "<group>"; };
6ADBE40128D4DFF000821AA3 /* ComingSoonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComingSoonView.swift; sourceTree = "<group>"; };
6AEEF95C2975CEB1000E0B48 /* Paces-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Paces-Bridging-Header.h"; sourceTree = "<group>"; };
6AEEF9622975D53F000E0B48 /* LaTeXView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LaTeXView.swift; sourceTree = "<group>"; };
850062C82802328F0095F121 /* TabViewData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabViewData.swift; sourceTree = "<group>"; }; 850062C82802328F0095F121 /* TabViewData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabViewData.swift; sourceTree = "<group>"; };
8502250D27FA5D0800FE8E95 /* ChangeLogData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChangeLogData.swift; sourceTree = "<group>"; }; 8502250D27FA5D0800FE8E95 /* ChangeLogData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChangeLogData.swift; sourceTree = "<group>"; };
850F8013284A7F6A0094580D /* DocsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DocsView.swift; sourceTree = "<group>"; }; 850F8013284A7F6A0094580D /* DocsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DocsView.swift; sourceTree = "<group>"; };
850F8015284A815C0094580D /* KnownIssues.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KnownIssues.swift; sourceTree = "<group>"; }; 850F8015284A815C0094580D /* KnownIssues.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KnownIssues.swift; sourceTree = "<group>"; };
850F8017284A83400094580D /* FeaturesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeaturesView.swift; sourceTree = "<group>"; }; 850F8017284A83400094580D /* FeaturesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeaturesView.swift; sourceTree = "<group>"; };
850F801F2853F7790094580D /* LicenseView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LicenseView.swift; sourceTree = "<group>"; }; 850F801F2853F7790094580D /* LicenseView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LicenseView.swift; sourceTree = "<group>"; };
850F80212853F7E30094580D /* SecretView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecretView.swift; sourceTree = "<group>"; };
850F8023285437500094580D /* caleb.bost.duo.heic */ = {isa = PBXFileReference; lastKnownFileType = file; name = caleb.bost.duo.heic; path = Assets.xcassets/caleb.bost.duo.heic; sourceTree = "<group>"; };
850F8024285437500094580D /* aiden.moore.states.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = aiden.moore.states.jpg; path = Assets.xcassets/aiden.moore.states.jpg; sourceTree = "<group>"; };
850F8025285437500094580D /* isaac.greene.clouds.heic */ = {isa = PBXFileReference; lastKnownFileType = file; name = isaac.greene.clouds.heic; path = Assets.xcassets/isaac.greene.clouds.heic; sourceTree = "<group>"; };
850F8026285437500094580D /* jake.zimmerman.group.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = jake.zimmerman.group.jpg; path = Assets.xcassets/jake.zimmerman.group.jpg; sourceTree = "<group>"; };
859298C828592F1F00D9D6CB /* Documentation.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Documentation.docc; sourceTree = "<group>"; }; 859298C828592F1F00D9D6CB /* Documentation.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Documentation.docc; sourceTree = "<group>"; };
85AAA0D227FA2DD600F4B9A1 /* Paces.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Paces.app; sourceTree = BUILT_PRODUCTS_DIR; }; 85AAA0D227FA2DD600F4B9A1 /* Paces.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Paces.app; sourceTree = BUILT_PRODUCTS_DIR; };
85AAA0D527FA2DD600F4B9A1 /* SplitsApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplitsApp.swift; sourceTree = "<group>"; }; 85AAA0D527FA2DD600F4B9A1 /* SplitsApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplitsApp.swift; sourceTree = "<group>"; };
@ -95,7 +90,7 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
85AAA0EB27FA2F7000F4B9A1 /* RichTextView in Frameworks */, 6AEEF9682976CBF9000E0B48 /* iosMath in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -119,6 +114,13 @@
path = PacesTests; path = PacesTests;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
6AEEF9532973A5B6000E0B48 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
85AAA0C927FA2DD600F4B9A1 = { 85AAA0C927FA2DD600F4B9A1 = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -126,6 +128,7 @@
6A0FD24E2875F944006DF79D /* PacesUITests */, 6A0FD24E2875F944006DF79D /* PacesUITests */,
6A0FD25D2875FA14006DF79D /* PacesTests */, 6A0FD25D2875FA14006DF79D /* PacesTests */,
85AAA0D327FA2DD600F4B9A1 /* Products */, 85AAA0D327FA2DD600F4B9A1 /* Products */,
6AEEF9532973A5B6000E0B48 /* Frameworks */,
); );
sourceTree = "<group>"; sourceTree = "<group>";
}; };
@ -151,16 +154,14 @@
850062C82802328F0095F121 /* TabViewData.swift */, 850062C82802328F0095F121 /* TabViewData.swift */,
850F8017284A83400094580D /* FeaturesView.swift */, 850F8017284A83400094580D /* FeaturesView.swift */,
850F8013284A7F6A0094580D /* DocsView.swift */, 850F8013284A7F6A0094580D /* DocsView.swift */,
850F80212853F7E30094580D /* SecretView.swift */, 6ADBE40128D4DFF000821AA3 /* ComingSoonView.swift */,
6AEEF9622975D53F000E0B48 /* LaTeXView.swift */,
850F8015284A815C0094580D /* KnownIssues.swift */, 850F8015284A815C0094580D /* KnownIssues.swift */,
85AAA0E527FA2EB100F4B9A1 /* HelpView.swift */, 85AAA0E527FA2EB100F4B9A1 /* HelpView.swift */,
850F801F2853F7790094580D /* LicenseView.swift */, 850F801F2853F7790094580D /* LicenseView.swift */,
85AAA0D927FA2DDA00F4B9A1 /* Assets.xcassets */, 85AAA0D927FA2DDA00F4B9A1 /* Assets.xcassets */,
850F8025285437500094580D /* isaac.greene.clouds.heic */,
850F8023285437500094580D /* caleb.bost.duo.heic */,
850F8026285437500094580D /* jake.zimmerman.group.jpg */,
850F8024285437500094580D /* aiden.moore.states.jpg */,
85AAA0DB27FA2DDA00F4B9A1 /* Preview Content */, 85AAA0DB27FA2DDA00F4B9A1 /* Preview Content */,
6AEEF95C2975CEB1000E0B48 /* Paces-Bridging-Header.h */,
); );
path = Splits; path = Splits;
sourceTree = "<group>"; sourceTree = "<group>";
@ -226,7 +227,7 @@
); );
name = Paces; name = Paces;
packageProductDependencies = ( packageProductDependencies = (
85AAA0EA27FA2F7000F4B9A1 /* RichTextView */, 6AEEF9672976CBF9000E0B48 /* iosMath */,
); );
productName = Splits; productName = Splits;
productReference = 85AAA0D227FA2DD600F4B9A1 /* Paces.app */; productReference = 85AAA0D227FA2DD600F4B9A1 /* Paces.app */;
@ -252,6 +253,7 @@
}; };
85AAA0D127FA2DD600F4B9A1 = { 85AAA0D127FA2DD600F4B9A1 = {
CreatedOnToolsVersion = 13.3; CreatedOnToolsVersion = 13.3;
LastSwiftMigration = 1400;
}; };
}; };
}; };
@ -265,9 +267,7 @@
); );
mainGroup = 85AAA0C927FA2DD600F4B9A1; mainGroup = 85AAA0C927FA2DD600F4B9A1;
packageReferences = ( packageReferences = (
85AAA0E927FA2F7000F4B9A1 /* XCRemoteSwiftPackageReference "RichTextView" */, 6AEEF9662976CBF9000E0B48 /* XCRemoteSwiftPackageReference "iosMath" */,
6AB17202286EB5A5005DED42 /* XCRemoteSwiftPackageReference "RichTextView" */,
6AB17203286EB5DD005DED42 /* XCRemoteSwiftPackageReference "RichTextView" */,
); );
productRefGroup = 85AAA0D327FA2DD600F4B9A1 /* Products */; productRefGroup = 85AAA0D327FA2DD600F4B9A1 /* Products */;
projectDirPath = ""; projectDirPath = "";
@ -301,10 +301,6 @@
files = ( files = (
85AAA0DD27FA2DDA00F4B9A1 /* Preview Assets.xcassets in Resources */, 85AAA0DD27FA2DDA00F4B9A1 /* Preview Assets.xcassets in Resources */,
85AAA0DA27FA2DDA00F4B9A1 /* Assets.xcassets in Resources */, 85AAA0DA27FA2DDA00F4B9A1 /* Assets.xcassets in Resources */,
850F802A285437500094580D /* jake.zimmerman.group.jpg in Resources */,
850F8028285437500094580D /* aiden.moore.states.jpg in Resources */,
850F8027285437500094580D /* caleb.bost.duo.heic in Resources */,
850F8029285437500094580D /* isaac.greene.clouds.heic in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -332,14 +328,15 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
850F80222853F7E30094580D /* SecretView.swift in Sources */,
6A5CEC52287691BE003D876C /* ChangeLogView.swift in Sources */, 6A5CEC52287691BE003D876C /* ChangeLogView.swift in Sources */,
85AAA0D827FA2DD600F4B9A1 /* ContentView.swift in Sources */, 85AAA0D827FA2DD600F4B9A1 /* ContentView.swift in Sources */,
6ADBE40228D4DFF000821AA3 /* ComingSoonView.swift in Sources */,
85AAA0D627FA2DD600F4B9A1 /* SplitsApp.swift in Sources */, 85AAA0D627FA2DD600F4B9A1 /* SplitsApp.swift in Sources */,
850062C92802328F0095F121 /* TabViewData.swift in Sources */, 850062C92802328F0095F121 /* TabViewData.swift in Sources */,
8502250E27FA5D0800FE8E95 /* ChangeLogData.swift in Sources */, 8502250E27FA5D0800FE8E95 /* ChangeLogData.swift in Sources */,
850F8014284A7F6A0094580D /* DocsView.swift in Sources */, 850F8014284A7F6A0094580D /* DocsView.swift in Sources */,
850F8016284A815C0094580D /* KnownIssues.swift in Sources */, 850F8016284A815C0094580D /* KnownIssues.swift in Sources */,
6AEEF9632975D53F000E0B48 /* LaTeXView.swift in Sources */,
859298C928592F1F00D9D6CB /* Documentation.docc in Sources */, 859298C928592F1F00D9D6CB /* Documentation.docc in Sources */,
85AAA0E627FA2EB100F4B9A1 /* HelpView.swift in Sources */, 85AAA0E627FA2EB100F4B9A1 /* HelpView.swift in Sources */,
850F80202853F7790094580D /* LicenseView.swift in Sources */, 850F80202853F7790094580D /* LicenseView.swift in Sources */,
@ -556,6 +553,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Splits/Splits.entitlements; CODE_SIGN_ENTITLEMENTS = Splits/Splits.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
@ -566,6 +564,7 @@
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Splits/Info.plist; INFOPLIST_FILE = Splits/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Paces; INFOPLIST_KEY_CFBundleDisplayName = Paces;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.reference";
INFOPLIST_KEY_NSFaceIDUsageDescription = "We'll need authentication before we can show sensitive data"; INFOPLIST_KEY_NSFaceIDUsageDescription = "We'll need authentication before we can show sensitive data";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@ -587,6 +586,8 @@
SUPPORTS_MACCATALYST = NO; SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "Splits/Paces-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
}; };
@ -597,6 +598,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Splits/Splits.entitlements; CODE_SIGN_ENTITLEMENTS = Splits/Splits.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
@ -607,6 +609,7 @@
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Splits/Info.plist; INFOPLIST_FILE = Splits/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Paces; INFOPLIST_KEY_CFBundleDisplayName = Paces;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.reference";
INFOPLIST_KEY_NSFaceIDUsageDescription = "We'll need authentication before we can show sensitive data"; INFOPLIST_KEY_NSFaceIDUsageDescription = "We'll need authentication before we can show sensitive data";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@ -628,6 +631,7 @@
SUPPORTS_MACCATALYST = NO; SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "Splits/Paces-Bridging-Header.h";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
}; };
@ -675,37 +679,21 @@
/* End XCConfigurationList section */ /* End XCConfigurationList section */
/* Begin XCRemoteSwiftPackageReference section */ /* Begin XCRemoteSwiftPackageReference section */
6AB17202286EB5A5005DED42 /* XCRemoteSwiftPackageReference "RichTextView" */ = { 6AEEF9662976CBF9000E0B48 /* XCRemoteSwiftPackageReference "iosMath" */ = {
isa = XCRemoteSwiftPackageReference; isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/tophat/RichTextView"; repositoryURL = "https://github.com/tophatmonocle/iosMath";
requirement = { requirement = {
kind = upToNextMajorVersion; kind = upToNextMajorVersion;
minimumVersion = 3.0.0; minimumVersion = 1.0.0;
};
};
6AB17203286EB5DD005DED42 /* XCRemoteSwiftPackageReference "RichTextView" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/tophat/RichTextView";
requirement = {
branch = master;
kind = branch;
};
};
85AAA0E927FA2F7000F4B9A1 /* XCRemoteSwiftPackageReference "RichTextView" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/tophat/RichTextView.git";
requirement = {
branch = master;
kind = branch;
}; };
}; };
/* End XCRemoteSwiftPackageReference section */ /* End XCRemoteSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */ /* Begin XCSwiftPackageProductDependency section */
85AAA0EA27FA2F7000F4B9A1 /* RichTextView */ = { 6AEEF9672976CBF9000E0B48 /* iosMath */ = {
isa = XCSwiftPackageProductDependency; isa = XCSwiftPackageProductDependency;
package = 85AAA0E927FA2F7000F4B9A1 /* XCRemoteSwiftPackageReference "RichTextView" */; package = 6AEEF9662976CBF9000E0B48 /* XCRemoteSwiftPackageReference "iosMath" */;
productName = RichTextView; productName = iosMath;
}; };
/* End XCSwiftPackageProductDependency section */ /* End XCSwiftPackageProductDependency section */
}; };

View file

@ -1,14 +1,5 @@
{ {
"pins" : [ "pins" : [
{
"identity" : "down",
"kind" : "remoteSourceControl",
"location" : "https://github.com/johnxnguyen/Down",
"state" : {
"revision" : "f34b166be1f1db4aa8f573067e901d72f2a6be57",
"version" : "0.11.0"
}
},
{ {
"identity" : "iosmath", "identity" : "iosmath",
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
@ -17,33 +8,6 @@
"revision" : "8c65dab2295100c02d9d844f6dc5646ab9d57b42", "revision" : "8c65dab2295100c02d9d844f6dc5646ab9d57b42",
"version" : "1.1.2" "version" : "1.1.2"
} }
},
{
"identity" : "richtextview",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tophat/RichTextView.git",
"state" : {
"branch" : "master",
"revision" : "c34d4d8a45b9635ec65237b484180d8611d1f8cf"
}
},
{
"identity" : "snapkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/SnapKit/SnapKit",
"state" : {
"revision" : "d458564516e5676af9c70b4f4b2a9178294f1bc6",
"version" : "5.0.1"
}
},
{
"identity" : "swiftrichstring",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tophatmonocle/SwiftRichString",
"state" : {
"branch" : "master",
"revision" : "e0b72d5c96968d7802856d2be096202c9798e8d1"
}
} }
], ],
"version" : 2 "version" : 2

View file

@ -23,12 +23,33 @@
<key>orderHint</key> <key>orderHint</key>
<integer>6</integer> <integer>6</integer>
</dict> </dict>
<key>SnapKitPlayground (Playground) 3.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>10</integer>
</dict>
<key>SnapKitPlayground (Playground) 4.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>11</integer>
</dict>
<key>SnapKitPlayground (Playground) 5.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>12</integer>
</dict>
<key>SnapKitPlayground (Playground).xcscheme</key> <key>SnapKitPlayground (Playground).xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>
<false/> <false/>
<key>orderHint</key> <key>orderHint</key>
<integer>4</integer> <integer>0</integer>
</dict> </dict>
<key>Splits.xcscheme_^#shared#^_</key> <key>Splits.xcscheme_^#shared#^_</key>
<dict> <dict>
@ -49,6 +70,27 @@
<key>orderHint</key> <key>orderHint</key>
<integer>3</integer> <integer>3</integer>
</dict> </dict>
<key>SwiftRichString (Playground) 3.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>7</integer>
</dict>
<key>SwiftRichString (Playground) 4.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>8</integer>
</dict>
<key>SwiftRichString (Playground) 5.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>9</integer>
</dict>
<key>SwiftRichString (Playground).xcscheme</key> <key>SwiftRichString (Playground).xcscheme</key>
<dict> <dict>
<key>isShown</key> <key>isShown</key>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View file

@ -7,6 +7,61 @@
import SwiftUI import SwiftUI
struct June2023: View {
var body: some View {
ScrollView {
//2023-06-05
HStack {
VStack (alignment: .leading) {
Text("2023-06-05")
.font(.title2)
Text("Version Prerelease Build LVSXT11y\n")
.font(.footnote)
Text("\u{2022} Made internal changes, like reducing app size by about six MB.\n \u{2022} Trying to figure out a better way to make these changelogs than handwriting\n\u{2022} Changed the look of the \"See our math\" button\n\u{2022} Started work on visual enhancements. kinda ugly right now")
}
Spacer()
}
.padding(30)
//2023-06-04
HStack {
VStack (alignment: .leading) {
Text("2023-06-04")
.font(.title2)
Text("Version 1.0.0b\n")
.font(.footnote)
Text("\u{2022} Reimplemented the math equation with LaTeX")
}
Spacer()
}
.padding(30)
}
.navigationTitle("June 2023 Log")
.navigationBarTitleDisplayMode(.inline)
}
}
struct September2022: View {
var body: some View {
ScrollView {
//2022-09-16
HStack {
VStack (alignment: .leading) {
Text("2022-09-16")
.font(.title2)
Text("Version 1.0.0\n")
.font(.footnote)
Text("\u{2022} Removed contacts tab")
}
Spacer()
}
.padding(30)
}
.navigationTitle("September 2022 Log")
.navigationBarTitleDisplayMode(.inline)
}
}
struct July2022: View { struct July2022: View {
var body: some View { var body: some View {
ScrollView { ScrollView {
@ -36,6 +91,8 @@ struct July2022: View {
} }
.padding(30) .padding(30)
} }
.navigationTitle("July 2022 Log")
.navigationBarTitleDisplayMode(.inline)
} }
} }

View file

@ -6,16 +6,15 @@
// //
import SwiftUI import SwiftUI
// this file will not have comments.
// this code is considered simple enough to be
// human-readable without aid, as long as
// the reader has a basic understanding of
// Swift and/or SwiftUI.
struct ChangeLog: View { struct ChangeLog: View {
var body: some View { var body: some View {
List { List {
Section(header: Text("2023")) {
NavigationLink("June", destination: June2023())
}
Section(header: Text("2022")) { Section(header: Text("2022")) {
NavigationLink("September", destination: September2022())
NavigationLink("July", destination: July2022()) NavigationLink("July", destination: July2022())
NavigationLink("June", destination: June2022()) NavigationLink("June", destination: June2022())
NavigationLink("May", destination: May2022()) NavigationLink("May", destination: May2022())

View file

@ -0,0 +1,26 @@
//
// ComingSoonView.swift
// Paces
//
// Created by Isaac Greene on 2022-09-16.
//
import SwiftUI
import iosMath
import UIKit
struct ComingSoonView: View {
var body: some View {
VStack {
Image(systemName: "clock.arrow.circlepath")
.frame(maxWidth: 100)
Text("Coming soon!")
}
}
}
struct ComingSoonView_Previews: PreviewProvider {
static var previews: some View {
ComingSoonView()
}
}

View file

@ -111,7 +111,7 @@ struct ContentView: View {
VStack { VStack {
Text("Seconds") Text("Seconds")
TextField("Enter seconds", text: $timeSeconds) TextField("Enter seconds", text: $timeSeconds)
.keyboardType(.numberPad) .keyboardType(.decimalPad)
.textFieldStyle(.roundedBorder) .textFieldStyle(.roundedBorder)
.focused($nameIsFocused) .focused($nameIsFocused)
.focused($focusedField, equals: .seconds) .focused($focusedField, equals: .seconds)
@ -266,7 +266,7 @@ struct PaceResults: View {
} }
func removeLeadingZeros(distance: inout String) -> String { func removeLeadingZeros(distance: inout String) -> String {
while distance.starts(with: "0") { while distance.starts(with: "0") {
distance = distance.removing(prefix: "0") distance.removeFirst()
} }
return distance return distance
} }

View file

@ -67,14 +67,14 @@ struct DocsView: View {
NavigationLink("Low Priority", destination: LowPriority()) NavigationLink("Low Priority", destination: LowPriority())
} }
Section(header: Text("App Information")) { Section(header: Text("App Information")) {
Text("Version: 1.0.0") Text("Version: Prerelease ")
Text("Release date: 2022-07-19") Text("Release date: 2023-06-05")
Text("Start date: 2022-03-25") Text("Start date: 2022-03-25")
Link("Built with SwiftUI \(Image(systemName: "swift"))", destination: URL(string: "https://developer.apple.com/xcode/swiftui")!) Link("Built with SwiftUI \(Image(systemName: "swift"))", destination: URL(string: "https://developer.apple.com/xcode/swiftui")!)
} }
Section(header: Text("Login")) { Section(header: Text("Login")) {
if (isUnlocked) { if (isUnlocked) {
NavigationLink("Contacts", destination: SecretView()) NavigationLink("Coming soon", destination: ComingSoonView())
Button("Log out") { Button("Log out") {
pass = "" pass = ""
user = "" user = ""
@ -97,7 +97,7 @@ struct DocsView: View {
.focused($focusedField, equals: .password) .focused($focusedField, equals: .password)
.textContentType(.password) .textContentType(.password)
if checkPassword() { if checkPassword() {
NavigationLink("Contacts", destination: SecretView()) NavigationLink("Coming soon", destination: ComingSoonView())
} }
} }
} }

View file

@ -6,7 +6,6 @@
// //
import SwiftUI import SwiftUI
import RichTextView
struct HelpView: View { struct HelpView: View {
@State var mathSheet = false @State var mathSheet = false
@ -26,6 +25,10 @@ struct HelpView: View {
Button("See our math", action: { Button("See our math", action: {
self.mathSheet.toggle() self.mathSheet.toggle()
}) })
.frame(width: 130, height: 40, alignment: .center)
.background(.tertiary)
.foregroundColor(.primary)
.cornerRadius(12)
.padding(30) .padding(30)
.sheet(isPresented: self.$mathSheet, content: { .sheet(isPresented: self.$mathSheet, content: {
algorithmView() algorithmView()
@ -65,39 +68,11 @@ struct algorithmView: View {
} }
struct mathView: View { struct mathView: View {
@State var mathString:String = "[math] \\frac{t}{d} &= p [/math]"
var body: some View { var body: some View {
mathLaTeX_inator(mathString: $mathString) HStack {
.padding(30) Spacer()
.frame(maxHeight: 300) MathView(latex: "\\frac{t}{d} = p")
.frame(width: 200, height: 50)
}
} }
} }
struct mathLaTeX_inator: UIViewRepresentable {
@Environment(\.colorScheme) var colorScheme
@Binding var mathString:String
func makeUIView(context: Context) -> RichTextView {
let richTextView = RichTextView(
input: mathString,
latexParser: LatexParser(),
font: UIFont.systemFont(ofSize: UIFont.systemFontSize),
textColor: (colorScheme == .dark ? UIColor.white : UIColor.black),
frame: CGRect.zero,
completion: nil
)
return richTextView
}
func updateUIView(_ uiView: RichTextView, context: Context) {
uiView.update(
input: mathString,
latexParser: LatexParser(),
font: UIFont.systemFont(ofSize: UIFont.systemFontSize),
textColor: (colorScheme == .dark ? UIColor.white : UIColor.black),
completion: nil
)
}
}

View file

@ -13,7 +13,7 @@ struct RecentlyResolved: View {
var body: some View { var body: some View {
ScrollView { ScrollView {
VStack(alignment: .leading) { VStack(alignment: .leading) {
Text("\u{2022} Opening the contacts tab no longer causes the app to crash\n\u{2022} Typing zero as the first number for the distance no longer causes the app to crash\n\u{2022} Having a distance of less than .1 no longer crashes the app") Text("\u{2022} Opening the contacts tab no longer causes the app to crash\n\u{2022} Typing zero as the first number for the distance no longer causes the app to crash\n\u{2022} Having a distance of less than .1 no longer causes the app to crash")
} }
.padding(30) .padding(30)
} }

32
Splits/LaTeXView.swift Normal file
View file

@ -0,0 +1,32 @@
//
// LaTeXView.swift
// Paces
//
// Created by Isaac Greene on 2023-01-16.
//
import SwiftUI
import UIKit
import iosMath
struct MathView: UIViewRepresentable {
var latex: String
@Environment(\.colorScheme) var colorScheme
func makeUIView(context: Context) -> MTMathUILabel {
let label = MTMathUILabel()
label.latex = latex
label.textColor = textColor(for: colorScheme)
return label
}
func updateUIView(_ uiView: MTMathUILabel, context: Context) {
uiView.latex = latex
uiView.textColor = textColor(for: colorScheme)
}
private func textColor(for colorScheme: ColorScheme) -> UIColor {
return colorScheme == .dark ? .white : .black
}
}

View file

@ -23,236 +23,12 @@ struct LicenseView: View {
VStack (alignment: .leading) { VStack (alignment: .leading) {
Text(""" Text("""
Copyright © 2022, Isaac Greene Copyright © 2022, Isaac Greene
All rights reserved. All rights reserved. Source code may be made available upon request.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: This application makes use of certain third-party open-source software.
Legal notices:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Isaac Greene.
Neither the name of Isaac Greene nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ISAAC GREENE AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ISAAC GREENE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This application makes use of certain third-party open-source software.\nLegal notices:
---------- ----------
Rob Phillips ( Down )
The MIT License (MIT)
Copyright (c) 2016 Rob Phillips.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-----
cmark
Copyright (c) 2014, John MacFarlane
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-----
houdini.h, houdini_href_e.c, houdini_html_e.c, houdini_html_u.c,
html_unescape.gperf, html_unescape.h
derive from https://github.com/vmg/houdini (with some modifications)
Copyright (C) 2012 Vicent Martí
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-----
buffer.h, buffer.c, chunk.h
are derived from code (C) 2012 Github, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-----
utf8.c and utf8.c
are derived from utf8proc
(<http://www.public-software-group.org/utf8proc>),
(C) 2009 Public Software Group e. V., Berlin, Germany.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
-----
The normalization code in runtests.py was derived from the
markdowntest project, Copyright 2013 Karl Dubost:
The MIT License (MIT)
Copyright (c) 2013 Karl Dubost
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
The CommonMark spec (test/spec.txt) is
Copyright (C) 2014-15 John MacFarlane
Released under the Creative Commons CC-BY-SA 4.0 license:
<http://creativecommons.org/licenses/by-sa/4.0/>.
-----
The test software in test/ is
Copyright (c) 2014, John MacFarlane
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-----
The normalization code in runtests.py was derived from the
markdowntest project, Copyright 2013 Karl Dubost:
The MIT License (MIT)
Copyright (c) 2013 Karl Dubost
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
MathChat ( iosMath ) MathChat ( iosMath )
The MIT License (MIT) The MIT License (MIT)
@ -264,46 +40,10 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
TopHat ( RichTextView )
Copyright 2022 TopHat
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-----
SnapKit Team ( SnapKit )
Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----
Daniele Margutti ( SwiftRichString )
The MIT License (MIT)
Copyright (c) 2018 Daniele Margutti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------- ----------
Created: 2022-06-08 Created: 2022-06-08
Updated: 2022-07-19 Updated: 2023-01-17
""") """)
.font(.custom("Menlo", size: fontSize)) .font(.custom("Menlo", size: fontSize))
} }

View file

@ -0,0 +1,4 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//