diff --git a/Conjugate/Views/Tabs/About/AboutInfoView.swift b/Conjugate/Views/Tabs/About/AboutInfoView.swift new file mode 100644 index 00000000..5b6593af --- /dev/null +++ b/Conjugate/Views/Tabs/About/AboutInfoView.swift @@ -0,0 +1,192 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +/** + * Detail information screens navigated to from the About tab. + */ + +import SwiftUI + +enum AboutInfoSection { + case wikimedia + case privacyPolicy + case licenses +} + +struct AboutInfoView: View { + let section: AboutInfoSection + + private var title: String { + switch section { + case .wikimedia: + return NSLocalizedString( + "i18n.app.about.community.wikimedia", value: "Wikimedia and Scribe", comment: "") + case .privacyPolicy: + return NSLocalizedString( + "i18n._global.privacy_policy", value: "Privacy policy", comment: "") + case .licenses: + return NSLocalizedString( + "i18n.app.about.legal.third_party", value: "Third-party licenses", comment: "") + } + } + + private var caption: String { + switch section { + case .wikimedia: + return NSLocalizedString( + "i18n.app.about.community.wikimedia.caption", value: "How we work together", + comment: "") + case .privacyPolicy: + return NSLocalizedString( + "i18n.app.about.legal.privacy_policy.caption", value: "Keeping you safe", + comment: "") + case .licenses: + return NSLocalizedString( + "i18n.app.about.legal.third_party.caption", value: "Whose code we used", comment: "" + ) + } + } + + private var bodyText: String { + switch section { + case .wikimedia: + return wikimediaBodyText + case .privacyPolicy: + return privacyPolicyBodyText + case .licenses: + return thirdPartyLicensesBodyText + } + } + + var body: some View { + ScrollView { + VStack(alignment: .leading, spacing: 0) { + VStack(alignment: .leading, spacing: 16) { + Text(caption) + .font(.title2) + .fontWeight(.bold) + .foregroundColor(.primary) + + Text(bodyText) + .font(.body) + .foregroundColor(.primary) + .tint(Color("linkBlue")) + } + .padding(20) + .background(Color("lightWhiteDarkBlack")) + .cornerRadius(12) + .padding(.horizontal, 20) + .padding(.top, 16) + } + .padding(.bottom, 32) + } + .background(Color("scribeAppBackground").ignoresSafeArea()) + .navigationTitle(title) + .navigationBarTitleDisplayMode(.large) + } +} + +// MARK: - Body text + +private let wikimediaBodyText: String = { + let t1 = NSLocalizedString( + "i18n.app.about.community.wikimedia.text_1", + value: + "Scribe would not be possible without countless contributions by Wikimedia contributors to the many projects that they support. Specifically Scribe makes use of data from the Wikidata Lexicographical data community, as well as data from Wikipedia for each language that Scribe supports.", + comment: "" + ) + let t2 = NSLocalizedString( + "i18n.app.about.community.wikimedia.text_2", + value: + "Wikidata is a collaboratively edited multilingual knowledge graph hosted by the Wikimedia Foundation. It provides freely available data that anyone can use under a Creative Commons Public Domain license (CC0). Scribe uses language data from Wikidata to provide users with verb conjugations, noun-form annotations, noun plurals, and many other features.", + comment: "" + ) + let t3 = NSLocalizedString( + "i18n.app.about.community.wikimedia.text_3", + value: + "Wikipedia is a multilingual free online encyclopedia written and maintained by a community of volunteers through open collaboration and a wiki-based editing system. Scribe uses data from Wikipedia to produce autosuggestions by deriving the most common words in a language as well as the most common words that follow them.", + comment: "" + ) + return [t1, t2, t3].joined(separator: "\n\n") +}() + +private let privacyPolicyBodyText: String = NSLocalizedString( + "i18n.app.about.legal.privacy_policy.text", + value: """ + Please note that the English version of this policy takes precedence over all other versions. + + The Scribe developers (SCRIBE) built the iOS application "Scribe-Conjugate" (SERVICE) as an open-source application. This SERVICE is provided by SCRIBE at no cost and is intended for use as is. + + This privacy policy (POLICY) is used to inform the reader of the policies for the access, tracking, collection, retention, use, and disclosure of personal information (USER INFORMATION) and usage data (USER DATA) for all individuals who make use of this SERVICE (USERS). + + USER INFORMATION is specifically defined as any information related to the USERS themselves or the devices they use to access the SERVICE. + + USER DATA is specifically defined as any text that is typed or actions that are done by the USERS while using the SERVICE. + + 1. Policy Statement + + This SERVICE does not access, track, collect, retain, use, or disclose any USER INFORMATION or USER DATA. + + 2. Do Not Track + + USERS contacting SCRIBE to ask that their USER INFORMATION and USER DATA not be tracked will be provided with a copy of this POLICY as well as a link to all source codes as proof that they are not being tracked. + + 3. Third-Party Data + + This SERVICE makes use of third-party data. All data used in the creation of this SERVICE comes from sources that allow its full use in the manner done so by the SERVICE. Specifically, the data for this SERVICE comes from Wikidata, Wikipedia and Unicode. Wikidata states that, "All structured data in the main, property and lexeme namespaces is made available under the Creative Commons CC0 License; text in other namespaces is made available under the Creative Commons Attribution-Share Alike License." The policy detailing Wikidata data usage can be found at https://www.wikidata.org/wiki/Wikidata:Licensing. Wikipedia states that text data, the type of data used by the SERVICE, "… can be used under the terms of the Creative Commons Attribution Share-Alike license". The policy detailing Wikipedia data usage can be found at https://en.wikipedia.org/wiki/Wikipedia:Reusing_Wikipedia_content. Unicode provides permission, "… free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction…" The policy detailing Unicode data usage can be found at https://www.unicode.org/license.txt. + + 4. Third-Party Source Code + + This SERVICE was based on third-party code. All source code used in the creation of this SERVICE comes from sources that allow its full use in the manner done so by the SERVICE. + + 5. Third-Party Services + + This SERVICE makes use of third-party services to manipulate some of the third-party data. Specifically, data has been translated using models from Hugging Face transformers. This service is covered by an Apache License 2.0, which states that it is available for commercial use, modification, distribution, patent use, and private use. The license for the aforementioned service can be found at https://github.com/huggingface/transformers/blob/master/LICENSE. + + 6. Third-Party Links + + This SERVICE contains links to external websites. If USERS click on a third-party link, they will be directed to a website. Note that these external websites are not operated by this SERVICE. Therefore, USERS are strongly advised to review the privacy policy of these websites. This SERVICE has no control over and assumes no responsibility for the content, privacy policies, or practices of any third-party sites or services. + + 7. Third-Party Images + + This SERVICE contains images that are copyrighted by third-parties. Specifically, this app includes a copy of the logos of GitHub, Inc and Wikidata, trademarked by Wikimedia Foundation, Inc. The terms by which the GitHub logo can be used are found on https://github.com/logos, and the terms for the Wikidata logo are found on the following Wikimedia page: https://foundation.wikimedia.org/wiki/Policy:Trademark_policy. + + 8. Content Notice + + This SERVICE allows USERS to access linguistic content (CONTENT). Some of this CONTENT could be deemed inappropriate for children and legal minors. Accessing CONTENT using the SERVICE is done in a way that the information is unavailable unless explicitly known. SCRIBE takes no responsibility for the access of such CONTENT. + + 9. Changes + + This POLICY is subject to change. Updates to this POLICY will replace all prior instances, and if deemed material will further be clearly stated in the next applicable update to the SERVICE. SCRIBE encourages USERS to periodically review this POLICY for the latest information on our privacy practices and to familiarize themselves with any changes. + + 10. Contact + + If you have any questions, concerns, or suggestions about this POLICY, do not hesitate to visit https://github.com/scribe-org or contact SCRIBE at scribe.langauge@gmail.com. The person responsible for such inquiries is Andrew Tavis McAllister. + + 11. Effective Date + + This POLICY is effective as of the 24th of May, 2022. + """, + comment: "" +) + +private let thirdPartyLicensesBodyText: String = { + let intro = NSLocalizedString( + "i18n.app.about.legal.third_party.text", + value: + "The Scribe developers (SCRIBE) built the iOS application \"Scribe-Conjugate\" (SERVICE) using third party code. All source code used in the creation of this SERVICE comes from sources that allow its full use in the manner done so by the SERVICE. This section lists the source code on which the SERVICE was based as well as the coinciding licenses of each.\n\nThe following is a list of all used source code, the main author or authors of the code, the license under which it was released at time of usage, and a link to the license.", + comment: "" + ) + let entry1 = NSLocalizedString( + "i18n.app.about.legal.third_party.entry_custom_keyboard", + value: + "Custom Keyboard\n• Author: EthanSK\n• License: MIT\n• Link: https://github.com/EthanSK/CustomKeyboard/blob/master/LICENSE", + comment: "" + ) + let entry2 = NSLocalizedString( + "i18n.app.about.legal.third_party.entry_simple_keyboard", + value: + "Simple Keyboard\n• Author: Simple Mobile Tools\n• License: GPL-3.0\n• Link: https://github.com/SimpleMobileTools/Simple-Keyboard/blob/main/LICENSE", + comment: "" + ) + return "\(intro)\n\n1. \(entry1)\n\n2. \(entry2)" +}() diff --git a/Conjugate/Views/Tabs/About/AboutRowView.swift b/Conjugate/Views/Tabs/About/AboutRowView.swift new file mode 100644 index 00000000..4f7d69ad --- /dev/null +++ b/Conjugate/Views/Tabs/About/AboutRowView.swift @@ -0,0 +1,116 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +/** + * A single row in the About tab list. + */ + +import SwiftUI + +enum AboutRowTrailing { + case externalLink + case chevron + case reset + case none +} + +struct AboutRowView: View { + let icon: String + let isCustomImage: Bool + let title: String + var trailing: AboutRowTrailing = .none + var invertIconInDarkMode: Bool = false + let action: () -> Void + + @Environment(\.colorScheme) private var colorScheme + + init( + icon: String, + isCustomImage: Bool, + title: String, + hasExternalLink: Bool = false, + hasNestedNavigation: Bool = false, + isReset: Bool = false, + invertIconInDarkMode: Bool = false, + action: @escaping () -> Void + ) { + self.icon = icon + self.isCustomImage = isCustomImage + self.title = title + self.invertIconInDarkMode = invertIconInDarkMode + self.action = action + if hasExternalLink { + self.trailing = .externalLink + } else if hasNestedNavigation { + self.trailing = .chevron + } else if isReset { + self.trailing = .reset + } else { + self.trailing = .none + } + } + + var body: some View { + Button(action: action) { + HStack(spacing: 14) { + iconView + .frame(width: 28, height: 28) + .padding(.leading, 16) + + Text(title) + .foregroundColor(.primary) + .font(.body) + + Spacer() + + trailingView + .padding(.trailing, 16) + } + .frame(minHeight: 52) + .contentShape(Rectangle()) + } + .buttonStyle(.plain) + } + + // MARK: - Icon + + @ViewBuilder + private var iconView: some View { + if isCustomImage { + let image = Image(icon) + .resizable() + .scaledToFit() + if invertIconInDarkMode && colorScheme == .dark { + image.colorInvert() + } else { + image + } + } else { + Image(systemName: icon) + .resizable() + .scaledToFit() + .foregroundColor(.primary) + } + } + + // MARK: - Trailing + + @ViewBuilder + private var trailingView: some View { + switch trailing { + case .externalLink: + Image(systemName: "arrow.up.right.square") + .font(.system(size: 17)) + .foregroundColor(Color(.systemGray3)) + case .chevron: + Image(systemName: "chevron.right") + .font(.system(size: 14, weight: .semibold)) + .foregroundColor(Color(.systemGray3)) + case .reset: + Image(systemName: "arrow.counterclockwise") + .font(.system(size: 17)) + .foregroundColor(Color(.systemGray3)) + case .none: + EmptyView() + } + } +} diff --git a/Conjugate/Views/Tabs/About/AboutSectionView.swift b/Conjugate/Views/Tabs/About/AboutSectionView.swift new file mode 100644 index 00000000..ed77e0db --- /dev/null +++ b/Conjugate/Views/Tabs/About/AboutSectionView.swift @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +/** + * A grouped section container used in the About tab. + */ + +import SwiftUI + +struct AboutSectionView: View { + let heading: String + @ViewBuilder let content: () -> Content + + var body: some View { + VStack(alignment: .leading, spacing: 0) { + Text(heading) + .font(.title2) + .fontWeight(.bold) + .foregroundColor(.primary) + .padding(.horizontal, 20) + .padding(.top, 24) + .padding(.bottom, 10) + + VStack(spacing: 0) { + content() + } + .background(Color("lightWhiteDarkBlack")) + .cornerRadius(12) + .padding(.horizontal, 20) + } + } +} diff --git a/Conjugate/Views/Tabs/About/AboutTab.swift b/Conjugate/Views/Tabs/About/AboutTab.swift index f3e878c1..54b8f329 100644 --- a/Conjugate/Views/Tabs/About/AboutTab.swift +++ b/Conjugate/Views/Tabs/About/AboutTab.swift @@ -1,13 +1,302 @@ // SPDX-License-Identifier: GPL-3.0-or-later +/** + * The About tab for the Scribe-Conjugate app. + */ + +import StoreKit import SwiftUI struct AboutTab: View { + @State private var showShareSheet = false + @State private var showAppHintsConfirmation = false + @State private var tipCardVisible: Bool = { + UserDefaults.standard.object(forKey: "aboutTipCardState") as? Bool ?? true + }() + + private var appVersion: String { + Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? "—" + } + var body: some View { AppNavigation { - Text("About") - .font(.largeTitle) - .navigationTitle("About") + ZStack(alignment: .top) { + Color("scribeAppBackground") + .ignoresSafeArea() + + ScrollView { + VStack(spacing: 0) { + if tipCardVisible { + AboutTipCardView( + infoText: NSLocalizedString( + "i18n.app.about.app_hint_tooltip", + value: "Here's where you can learn more about Scribe and its community.", + comment: "" + ), + isVisible: $tipCardVisible, + onDismiss: { + UserDefaults.standard.set(false, forKey: "aboutTipCardState") + } + ) + .padding(.horizontal, 20) + .padding(.top, 12) + .transition(.opacity.combined(with: .move(edge: .top))) + } + + // MARK: Community + + AboutSectionView( + heading: NSLocalizedString( + "i18n.app.about.community.title", value: "Community", comment: "") + ) { + AboutRowView( + icon: "github", + isCustomImage: true, + title: NSLocalizedString( + "i18n.app.about.community.github", + value: "See the code on GitHub", comment: ""), + hasExternalLink: true + ) { openURL("https://github.com/scribe-org/Scribe-Conjugate") } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "matrix", + isCustomImage: true, + title: NSLocalizedString( + "i18n.app.about.community.matrix", + value: "Chat with the team on Matrix", comment: ""), + hasExternalLink: true + ) { + openURL( + "https://matrix.to/#/#scribe_community:matrix.org", + encoded: true) + } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "mastodon", + isCustomImage: true, + title: NSLocalizedString( + "i18n.app.about.community.mastodon", + value: "Follow us on Mastodon", comment: ""), + hasExternalLink: true + ) { openURL("https://wikis.world/@scribe") } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "Bluesky", + isCustomImage: true, + title: NSLocalizedString( + "i18n.app.about.community.bluesky", + value: "Follow us on Bluesky", comment: ""), + hasExternalLink: true, + invertIconInDarkMode: true + ) { openURL("https://bsky.app/profile/scribe-org.bsky.social") } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "globe", + isCustomImage: false, + title: NSLocalizedString( + "i18n.app.about.community.visit_website", + value: "Visit the Scribe website", comment: ""), + hasExternalLink: true + ) { openURL("https://scri.be/") } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "square.and.arrow.up", + isCustomImage: false, + title: NSLocalizedString( + "i18n.app.about.community.share_conjugate", + value: "Share Scribe Conjugate", comment: ""), + hasExternalLink: true + ) { showShareSheet = true } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "wikimedia", + isCustomImage: true, + title: NSLocalizedString( + "i18n.app.about.community.wikimedia", + value: "Wikimedia and Scribe", comment: ""), + hasNestedNavigation: true + ) {} + .overlay( + NavigationLink(destination: AboutInfoView(section: .wikimedia)) { + Color.clear + } + ) + } + + // MARK: Feedback and support + + AboutSectionView( + heading: NSLocalizedString( + "i18n.app.about.feedback.title", value: "Feedback and support", + comment: "") + ) { + AboutRowView( + icon: "star.fill", + isCustomImage: false, + title: NSLocalizedString( + "i18n.app.about.feedback.rate_scribe", + value: "Rate Scribe Conjugate", comment: ""), + hasExternalLink: true + ) { rateApp() } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "ladybug", + isCustomImage: false, + title: NSLocalizedString( + "i18n.app.about.feedback.bug_report", value: "Report a bug", + comment: ""), + hasExternalLink: true + ) { openURL("https://github.com/scribe-org/Scribe-Conjugate/issues") } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "envelope", + isCustomImage: false, + title: NSLocalizedString( + "i18n.app.about.feedback.send_email", value: "Send us an email", + comment: ""), + hasExternalLink: true + ) { sendEmail() } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "bookmark.fill", + isCustomImage: false, + title: String( + format: NSLocalizedString( + "i18n.app.about.feedback.version", value: "Version %@", + comment: ""), + appVersion + ), + hasExternalLink: true + ) { openURL("https://github.com/scribe-org/Scribe-Conjugate/releases") } + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "lightbulb", + isCustomImage: false, + title: NSLocalizedString( + "i18n.app.about.feedback.reset_app_hints", + value: "Reset app hints", comment: ""), + isReset: true + ) { showAppHintsConfirmation = true } + } + + // MARK: Legal + + AboutSectionView( + heading: NSLocalizedString( + "i18n._global.legal", value: "Legal", comment: "") + ) { + AboutRowView( + icon: "lock.shield", + isCustomImage: false, + title: NSLocalizedString( + "i18n._global.privacy_policy", value: "Privacy policy", + comment: ""), + hasNestedNavigation: true + ) {} + .overlay( + NavigationLink(destination: AboutInfoView(section: .privacyPolicy)) { Color.clear } + ) + + Divider().padding(.leading, 54) + + AboutRowView( + icon: "doc.text", + isCustomImage: false, + title: NSLocalizedString( + "i18n.app.about.legal.third_party", + value: "Third-party licenses", comment: ""), + hasNestedNavigation: true + ) {} + .overlay( + NavigationLink(destination: AboutInfoView(section: .licenses)) { + Color.clear + } + ) + } + + Spacer(minLength: 32) + } + .padding(.top, 8) + .animation(.easeInOut(duration: 0.2), value: tipCardVisible) + } + } + .navigationTitle(NSLocalizedString("i18n.app.about.title", value: "About", comment: "")) + .navigationBarTitleDisplayMode(.large) + } + .sheet(isPresented: $showShareSheet) { + ShareSheet(items: [conjugateShareURL()]) + } + .alert( + NSLocalizedString( + "i18n.app.about.feedback.reset_app_hints", value: "Reset app hints", comment: ""), + isPresented: $showAppHintsConfirmation + ) { + Button( + NSLocalizedString("i18n._global.cancel", value: "Cancel", comment: ""), + role: .cancel + ) {} + Button(NSLocalizedString("i18n._global.reset", value: "Reset", comment: "")) { + resetAppHints() + } + } message: { + Text( + NSLocalizedString( + "i18n.app.about.feedback.reset_app_hints.message", + value: "This will reset all app hints to their default visible state.", + comment: "" + )) } } + + // MARK: - Actions + + private func openURL(_ urlString: String, encoded: Bool = false) { + let target = + encoded + ? (urlString.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? urlString) + : urlString + guard let url = URL(string: target) else { return } + UIApplication.shared.open(url) + } + + private func rateApp() { + guard + let scene = UIApplication.shared.connectedScenes + .first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene + else { return } + SKStoreReviewController.requestReview(in: scene) + } + + private func sendEmail() { + openURL("mailto:team@scri.be") + } + + private func resetAppHints() { + UserDefaults.standard.set(true, forKey: "aboutTipCardState") + withAnimation { tipCardVisible = true } + } + + private func conjugateShareURL() -> URL { + URL(string: "https://scri.be/")! + } } diff --git a/Conjugate/Views/Tabs/About/AboutTipCardView.swift b/Conjugate/Views/Tabs/About/AboutTipCardView.swift new file mode 100644 index 00000000..7f983bdb --- /dev/null +++ b/Conjugate/Views/Tabs/About/AboutTipCardView.swift @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +/** + * Tip card shown at the top of the About tab. + */ + +import SwiftUI + +struct AboutTipCardView: View { + let infoText: String + @Binding var isVisible: Bool + var onDismiss: (() -> Void)? + + private let cardCornerRadius: CGFloat = 10 + + var body: some View { + ZStack { + RoundedRectangle(cornerRadius: cardCornerRadius) + .fill(Color("lightWhiteDarkBlack")) + HStack(spacing: 12) { + Image(systemName: "lightbulb.max") + .resizable() + .scaledToFit() + .frame(width: 28, height: 28) + .foregroundColor(Color("scribeCTA")) + .padding(.leading, 12) + + Text(infoText) + .font(.subheadline) + .foregroundColor(.primary) + + Spacer() + + Button { + withAnimation(.easeInOut(duration: 0.2)) { + isVisible = false + } + onDismiss?() + } label: { + Text("OK") + .foregroundColor(.white) + .frame(width: 40, height: 40) + .background(Color("scribeBlue")) + .cornerRadius(cardCornerRadius) + } + .padding(.trailing, 12) + } + } + .frame(maxWidth: .infinity) + .frame(height: 70) + .shadow(color: Color("keyShadow").opacity(0.4), radius: 5, x: 0, y: 2) + } +} diff --git a/Conjugate/Views/Tabs/About/ShareSheet.swift b/Conjugate/Views/Tabs/About/ShareSheet.swift new file mode 100644 index 00000000..8a85e162 --- /dev/null +++ b/Conjugate/Views/Tabs/About/ShareSheet.swift @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +/** + * UIKit bridge for presenting the system share sheet in SwiftUI. + */ + +import SwiftUI +import UIKit + +struct ShareSheet: UIViewControllerRepresentable { + let items: [Any] + + func makeUIViewController(context: Context) -> UIActivityViewController { + UIActivityViewController(activityItems: items, applicationActivities: nil) + } + + func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {} +} diff --git a/Scribe.xcodeproj/project.pbxproj b/Scribe.xcodeproj/project.pbxproj index 6868221e..348ec524 100644 --- a/Scribe.xcodeproj/project.pbxproj +++ b/Scribe.xcodeproj/project.pbxproj @@ -786,6 +786,11 @@ F786BB3B2F1E8F70003F7505 /* Russian.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = D1671A60275A1E8700A7C118 /* Russian.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; F7A17EBA2F6A8C180040B09B /* AppNavigation.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A17EB62F6A8BFE0040B09B /* AppNavigation.swift */; }; F7A17EBB2F6A8C1C0040B09B /* AboutTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A17EAC2F6A8BFE0040B09B /* AboutTab.swift */; }; + FA001AAB2F9A000000000001 /* AboutTipCardView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA001AAA2F9A000000000001 /* AboutTipCardView.swift */; }; + FA001AAB2F9A000000000002 /* AboutSectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA001AAA2F9A000000000002 /* AboutSectionView.swift */; }; + FA001AAB2F9A000000000003 /* AboutRowView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA001AAA2F9A000000000003 /* AboutRowView.swift */; }; + FA001AAB2F9A000000000004 /* AboutInfoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA001AAA2F9A000000000004 /* AboutInfoView.swift */; }; + FA001AAB2F9A000000000005 /* ShareSheet.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA001AAA2F9A000000000005 /* ShareSheet.swift */; }; F7A17EBC2F6A8C200040B09B /* ConjugateTab.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A17EAE2F6A8BFE0040B09B /* ConjugateTab.swift */; }; F7A17EBD2F6A8C230040B09B /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A17EB42F6A8BFE0040B09B /* ContentView.swift */; }; /* End PBXBuildFile section */ @@ -1163,6 +1168,11 @@ F786BB422F1E8F70003F7505 /* ConjugateApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "ConjugateApp-Info.plist"; path = "/Users/gauthammohanraj/Developer/Scribe-iOS/ConjugateApp-Info.plist"; sourceTree = ""; }; F7A17EAB2F6A8BFE0040B09B /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ContentView.swift; path = Conjugate/ContentView.swift; sourceTree = ""; }; F7A17EAC2F6A8BFE0040B09B /* AboutTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AboutTab.swift; sourceTree = ""; }; + FA001AAA2F9A000000000001 /* AboutTipCardView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AboutTipCardView.swift; sourceTree = ""; }; + FA001AAA2F9A000000000002 /* AboutSectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AboutSectionView.swift; sourceTree = ""; }; + FA001AAA2F9A000000000003 /* AboutRowView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AboutRowView.swift; sourceTree = ""; }; + FA001AAA2F9A000000000004 /* AboutInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AboutInfoView.swift; sourceTree = ""; }; + FA001AAA2F9A000000000005 /* ShareSheet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShareSheet.swift; sourceTree = ""; }; F7A17EAE2F6A8BFE0040B09B /* ConjugateTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConjugateTab.swift; sourceTree = ""; }; F7A17EB02F6A8BFE0040B09B /* SettingsTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsTab.swift; sourceTree = ""; }; F7A17EB22F6A8BFE0040B09B /* ConjugateTab.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConjugateTab.swift; sourceTree = ""; }; @@ -2108,6 +2118,11 @@ isa = PBXGroup; children = ( F7A17EAC2F6A8BFE0040B09B /* AboutTab.swift */, + FA001AAA2F9A000000000001 /* AboutTipCardView.swift */, + FA001AAA2F9A000000000002 /* AboutSectionView.swift */, + FA001AAA2F9A000000000003 /* AboutRowView.swift */, + FA001AAA2F9A000000000004 /* AboutInfoView.swift */, + FA001AAA2F9A000000000005 /* ShareSheet.swift */, ); path = About; sourceTree = ""; @@ -3616,9 +3631,35 @@ F7A17EBD2F6A8C230040B09B /* ContentView.swift in Sources */, F7A17EBC2F6A8C200040B09B /* ConjugateTab.swift in Sources */, F7A17EBB2F6A8C1C0040B09B /* AboutTab.swift in Sources */, + FA001AAB2F9A000000000001 /* AboutTipCardView.swift in Sources */, + FA001AAB2F9A000000000002 /* AboutSectionView.swift in Sources */, + FA001AAB2F9A000000000003 /* AboutRowView.swift in Sources */, + FA001AAB2F9A000000000004 /* AboutInfoView.swift in Sources */, + FA001AAB2F9A000000000005 /* ShareSheet.swift in Sources */, F7A17EBA2F6A8C180040B09B /* AppNavigation.swift in Sources */, F725CADE2F6A72BC00A8C950 /* ConjugateApp.swift in Sources */, F725CAE72F6A783400A8C950 /* SettingsTab.swift in Sources */, + E91980C82F2F540A00B5852F /* NavigationStructure.swift in Sources */, + F786BB0F2F1E8F70003F7505 /* InterfaceVariables.swift in Sources */, + F786BB232F1E8F70003F7505 /* InterfaceConstants.swift in Sources */, + F786BAF52F1E8F70003F7505 /* KeyboardProvider.swift in Sources */, + F786BAF42F1E8F70003F7505 /* KeyboardBuilder.swift in Sources */, + F786BB1D2F1E8F70003F7505 /* KeyAltChars.swift in Sources */, + F786BAFF2F1E8F70003F7505 /* CommandVariables.swift in Sources */, + F786BB132F1E8F70003F7505 /* ColorVariables.swift in Sources */, + F786BAD72F1E8F70003F7505 /* ScribeColor.swift in Sources */, + F786BAF62F1E8F70003F7505 /* UIColor+ScribeColors.swift in Sources */, + F786BB222F1E8F70003F7505 /* Extensions.swift in Sources */, + F786BAE72F1E8F70003F7505 /* ENInterfaceVariables.swift in Sources */, + F786BAE62F1E8F70003F7505 /* FR-AZERTYInterfaceVariables.swift in Sources */, + F786BAE92F1E8F70003F7505 /* DEInterfaceVariables.swift in Sources */, + F786BADC2F1E8F70003F7505 /* IDInterfaceVariables.swift in Sources */, + F786BB0A2F1E8F70003F7505 /* ITInterfaceVariables.swift in Sources */, + F786BB1E2F1E8F70003F7505 /* NBInterfaceVariables.swift in Sources */, + F786BB0B2F1E8F70003F7505 /* PTInterfaceVariables.swift in Sources */, + F786BB092F1E8F70003F7505 /* RUInterfaceVariables.swift in Sources */, + E97E65172F2CDD730070810A /* ESInterfaceVariables.swift in Sources */, + F786BAF72F1E8F70003F7505 /* SVInterfaceVariables.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Scribe/Assets.xcassets/MenuIcons/Bluesky.imageset/Contents.json b/Scribe/Assets.xcassets/MenuIcons/Bluesky.imageset/Contents.json new file mode 100644 index 00000000..8a8552b5 --- /dev/null +++ b/Scribe/Assets.xcassets/MenuIcons/Bluesky.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "Image.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "Image.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "Image.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Scribe/Assets.xcassets/MenuIcons/Bluesky.imageset/Image.png b/Scribe/Assets.xcassets/MenuIcons/Bluesky.imageset/Image.png new file mode 100644 index 00000000..99badf83 Binary files /dev/null and b/Scribe/Assets.xcassets/MenuIcons/Bluesky.imageset/Image.png differ