aboutsummaryrefslogtreecommitdiff
path: root/iTexSnip
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-10-27 23:10:10 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-10-27 23:10:10 -0600
commit922aff8f990abe5c4d1f57f5725988d523d94c39 (patch)
treebd5b85fa536b8ae367e26f6264383ad77038b578 /iTexSnip
parent842c652df99f30fe0f6695406f75e328df151b80 (diff)
add acknowledgements
Diffstat (limited to 'iTexSnip')
-rw-r--r--iTexSnip/Views/AcknowledgementsView.swift59
-rw-r--r--iTexSnip/Views/MenuBarView.swift3
2 files changed, 62 insertions, 0 deletions
diff --git a/iTexSnip/Views/AcknowledgementsView.swift b/iTexSnip/Views/AcknowledgementsView.swift
new file mode 100644
index 0000000..6f6cc39
--- /dev/null
+++ b/iTexSnip/Views/AcknowledgementsView.swift
@@ -0,0 +1,59 @@
+//
+// AcknowledgementsView.swift
+// iTexSnip
+//
+// Created by Navan Chauhan on 10/27/24.
+//
+
+import SwiftUI
+
+struct AcknowledgementsView: View {
+ var body: some View {
+ ScrollView {
+ VStack(alignment: .leading, spacing: 10) {
+ Text(
+ """
+ This app uses the following open-source software:
+
+ TexTeller
+ Copyright 2024 OleehyO
+
+ 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.
+
+
+ LaTeXSwiftUI
+ MIT License
+
+ Copyright (c) 2023 Colin Campbell
+
+ 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.
+
+ ONNX Runtime
+ MIT License
+
+ Copyright (c.) Microsoft Corporation.
+
+ 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.
+ """
+ )
+
+ .font(.body)
+ .padding()
+ }
+ .padding()
+ }
+ .navigationTitle("Acknowledgements")
+ }
+}
diff --git a/iTexSnip/Views/MenuBarView.swift b/iTexSnip/Views/MenuBarView.swift
index 5807a31..08af747 100644
--- a/iTexSnip/Views/MenuBarView.swift
+++ b/iTexSnip/Views/MenuBarView.swift
@@ -78,6 +78,9 @@ struct MenuBarView: View {
SettingsLink {
Text("Open Preferences")
}
+ NavigationLink(destination: AcknowledgementsView()) {
+ Text("Acknowledgements")
+ }
Button("Quit") {
NSApplication.shared.terminate(nil)
}