diff --git a/Keyboards/InterfaceConstants.swift b/Keyboards/InterfaceConstants.swift index 09cb9011..1b46aa4a 100644 --- a/Keyboards/InterfaceConstants.swift +++ b/Keyboards/InterfaceConstants.swift @@ -1,8 +1,21 @@ -// -// Scribe -// -// Constants for Scribe keyboard interfaces. -// +/** + * Constants for the Scribe keyboard interfaces. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ enum SpecialKeys { static let indent = "indent" diff --git a/Keyboards/KeyboardsBase/Colors/ColorVariables.swift b/Keyboards/KeyboardsBase/Colors/ColorVariables.swift index 8df0b254..72e5f1be 100644 --- a/Keyboards/KeyboardsBase/Colors/ColorVariables.swift +++ b/Keyboards/KeyboardsBase/Colors/ColorVariables.swift @@ -1,8 +1,21 @@ -// -// ColorVariables.swift -// -// Variables associated with coloration for Scribe. -// +/** + * Variables associated with coloration for Scribe keyboards. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/Colors/ScribeColor.swift b/Keyboards/KeyboardsBase/Colors/ScribeColor.swift index 0e4100d7..c1c58cf7 100644 --- a/Keyboards/KeyboardsBase/Colors/ScribeColor.swift +++ b/Keyboards/KeyboardsBase/Colors/ScribeColor.swift @@ -1,6 +1,21 @@ -// -// ScribeColor.swift -// +/** + * Converts strings for colors into the corresponding color. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/Colors/UIColor+ScribeColors.swift b/Keyboards/KeyboardsBase/Colors/UIColor+ScribeColors.swift index 7d7b9053..49692e2e 100644 --- a/Keyboards/KeyboardsBase/Colors/UIColor+ScribeColors.swift +++ b/Keyboards/KeyboardsBase/Colors/UIColor+ScribeColors.swift @@ -1,6 +1,21 @@ -// -// UIColor+ScribeColors.swift -// +/** + * Adds Scribe colors to the UIColor pool. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/Extensions.swift b/Keyboards/KeyboardsBase/Extensions.swift index b7afe8c5..f493da7e 100644 --- a/Keyboards/KeyboardsBase/Extensions.swift +++ b/Keyboards/KeyboardsBase/Extensions.swift @@ -1,8 +1,21 @@ -// -// Extensions.swift -// -// Extensions for Scribe keyboards. -// +/** + * Extensions for Scribe keyboards. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/InterfaceVariables.swift b/Keyboards/KeyboardsBase/InterfaceVariables.swift index 98d91b88..4e004059 100644 --- a/Keyboards/KeyboardsBase/InterfaceVariables.swift +++ b/Keyboards/KeyboardsBase/InterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// InterfaceVariables.swift -// -// Variables associated with the base keyboard interface. -// +/** + * Variables associated with the base keyboard interface. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/KeyAltChars.swift b/Keyboards/KeyboardsBase/KeyAltChars.swift index 52bd4478..9885a428 100644 --- a/Keyboards/KeyboardsBase/KeyAltChars.swift +++ b/Keyboards/KeyboardsBase/KeyAltChars.swift @@ -1,8 +1,21 @@ -// -// KeyAltChars.swift -// -// Functions and variables to create alternate key views. -// +/** + * Functions and variables to create alternate key views. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/KeyAnimation.swift b/Keyboards/KeyboardsBase/KeyAnimation.swift index f90ebbfa..a9ec6bf1 100644 --- a/Keyboards/KeyboardsBase/KeyAnimation.swift +++ b/Keyboards/KeyboardsBase/KeyAnimation.swift @@ -1,8 +1,21 @@ -// -// KeyAnimation.swift -// -// Functions to animate key pressed with pop up characters. -// +/** + * Functions to animate key presses with pop up characters. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/KeyboardKeys.swift b/Keyboards/KeyboardsBase/KeyboardKeys.swift index fb58ccc6..394e51b5 100644 --- a/Keyboards/KeyboardsBase/KeyboardKeys.swift +++ b/Keyboards/KeyboardsBase/KeyboardKeys.swift @@ -1,8 +1,21 @@ -// -// KeyboardKey.swift -// -// Classes and variables that define keys for Scribe keyboards. -// +/** + * Classes and variables that define keys for Scribe keyboards. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/KeyboardStyling.swift b/Keyboards/KeyboardsBase/KeyboardStyling.swift index 37f08439..ab10f422 100644 --- a/Keyboards/KeyboardsBase/KeyboardStyling.swift +++ b/Keyboards/KeyboardsBase/KeyboardStyling.swift @@ -1,8 +1,21 @@ -// -// KeyboardStyling.swift -// -// Functions to style keyboard elements. -// +/** + * Functions to style keyboard elements. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/KeyboardViewController.swift b/Keyboards/KeyboardsBase/KeyboardViewController.swift index f5207797..081c581d 100644 --- a/Keyboards/KeyboardsBase/KeyboardViewController.swift +++ b/Keyboards/KeyboardsBase/KeyboardViewController.swift @@ -1,8 +1,21 @@ -// -// KeyboardViewController.swift -// -// Classes for the parent keyboard view controller that language keyboards inherit and keyboard keys. -// +/** + * Classes for the parent keyboard view controller that language keyboards. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import GRDB import UIKit @@ -193,10 +206,10 @@ class KeyboardViewController: UIInputViewController { /// - A call to loadKeys to reload the display after an orientation change override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) - Timer.scheduledTimer(withTimeInterval: 0.2, repeats: false) { (nil) in + Timer.scheduledTimer(withTimeInterval: 0.2, repeats: false) { _ in self.updateViewConstraints() } - Timer.scheduledTimer(withTimeInterval: 0.2, repeats: false) { (nil) in + Timer.scheduledTimer(withTimeInterval: 0.2, repeats: false) { _ in isFirstKeyboardLoad = true self.loadKeys() isFirstKeyboardLoad = false @@ -488,7 +501,7 @@ class KeyboardViewController: UIInputViewController { func getDefaultAutosuggestions() { completionWords = [String]() for i in 0 ..< 3 { - if (allowUndo) { + if allowUndo { completionWords.append(previousWord) continue } @@ -541,7 +554,7 @@ class KeyboardViewController: UIInputViewController { if suggestionsLowerCasePrefix[0] != "" { completionWords = [String]() for i in 0 ..< 3 { - if (allowUndo) { + if allowUndo { completionWords.append(previousWord) continue } @@ -566,7 +579,7 @@ class KeyboardViewController: UIInputViewController { } else if suggestionsCapitalizedPrefix[0] != "" { completionWords = [String]() for i in 0 ..< 3 { - if (allowUndo) { + if allowUndo { completionWords.append(previousWord) continue } diff --git a/Keyboards/KeyboardsBase/LoadData.swift b/Keyboards/KeyboardsBase/LoadData.swift index 921d53b6..6da6c03f 100644 --- a/Keyboards/KeyboardsBase/LoadData.swift +++ b/Keyboards/KeyboardsBase/LoadData.swift @@ -1,8 +1,21 @@ -// -// LoadData.swift -// -// Function for loading in data to the keyboards. -// +/** + * Function for loading in data to the keyboards. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation import GRDB diff --git a/Keyboards/KeyboardsBase/ScribeFunctionality/Annotate.swift b/Keyboards/KeyboardsBase/ScribeFunctionality/Annotate.swift index b8e411fb..cbb59890 100644 --- a/Keyboards/KeyboardsBase/ScribeFunctionality/Annotate.swift +++ b/Keyboards/KeyboardsBase/ScribeFunctionality/Annotate.swift @@ -1,8 +1,21 @@ -// -// Annotate.swift -// -// Functions and elements that control word annotations. -// +/** + * Functions and elements that control word annotations. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ScribeFunctionality/CommandBar.swift b/Keyboards/KeyboardsBase/ScribeFunctionality/CommandBar.swift index b3df3c0b..4e20acb3 100644 --- a/Keyboards/KeyboardsBase/ScribeFunctionality/CommandBar.swift +++ b/Keyboards/KeyboardsBase/ScribeFunctionality/CommandBar.swift @@ -1,8 +1,21 @@ -// -// CommandBar.swift -// -// Class defining the bar into which commands are typed. -// +/** + * Class defining the bar into which commands are typed. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ScribeFunctionality/CommandVariables.swift b/Keyboards/KeyboardsBase/ScribeFunctionality/CommandVariables.swift index 969d1581..9125004b 100644 --- a/Keyboards/KeyboardsBase/ScribeFunctionality/CommandVariables.swift +++ b/Keyboards/KeyboardsBase/ScribeFunctionality/CommandVariables.swift @@ -1,8 +1,21 @@ -// -// CommandVariables.swift -// -// Variables associated with Scribe commands. -// +/** + * Variables associated with Scribe commands. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import GRDB import UIKit diff --git a/Keyboards/KeyboardsBase/ScribeFunctionality/Conjugate.swift b/Keyboards/KeyboardsBase/ScribeFunctionality/Conjugate.swift index 212a2573..0e63a1e0 100644 --- a/Keyboards/KeyboardsBase/ScribeFunctionality/Conjugate.swift +++ b/Keyboards/KeyboardsBase/ScribeFunctionality/Conjugate.swift @@ -1,8 +1,21 @@ -// -// Conjugation.swift -// -// Functions and elements that control the conjugation command. -// +/** + * Functions and elements that control the conjugation command. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ScribeFunctionality/Plural.swift b/Keyboards/KeyboardsBase/ScribeFunctionality/Plural.swift index 4eee28fe..fc5bc83b 100644 --- a/Keyboards/KeyboardsBase/ScribeFunctionality/Plural.swift +++ b/Keyboards/KeyboardsBase/ScribeFunctionality/Plural.swift @@ -1,8 +1,21 @@ -// -// Plural.swift -// -// Functions that control the plural command. -// +/** + * Functions that control the plural command. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ScribeFunctionality/ScribeKey.swift b/Keyboards/KeyboardsBase/ScribeFunctionality/ScribeKey.swift index ec5071b8..dffad4d4 100644 --- a/Keyboards/KeyboardsBase/ScribeFunctionality/ScribeKey.swift +++ b/Keyboards/KeyboardsBase/ScribeFunctionality/ScribeKey.swift @@ -1,8 +1,21 @@ -// -// ScribeKey.swift -// -// Class defining the Scribe key that is used to access keyboard commands. -// +/** + * Class defining the Scribe key that is used to access keyboard commands. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ScribeFunctionality/Translate.swift b/Keyboards/KeyboardsBase/ScribeFunctionality/Translate.swift index ef288eb7..61ae9aab 100644 --- a/Keyboards/KeyboardsBase/ScribeFunctionality/Translate.swift +++ b/Keyboards/KeyboardsBase/ScribeFunctionality/Translate.swift @@ -1,8 +1,21 @@ -// -// Translate.swift -// -// Functions that control the translate command. -// +/** + * Functions that control the translate command. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ToolTip/Model/InformationToolTipData.swift b/Keyboards/KeyboardsBase/ToolTip/Model/InformationToolTipData.swift index 44c8b383..8baabe10 100644 --- a/Keyboards/KeyboardsBase/ToolTip/Model/InformationToolTipData.swift +++ b/Keyboards/KeyboardsBase/ToolTip/Model/InformationToolTipData.swift @@ -1,6 +1,21 @@ -// -// InformationToolTipData.swift -// +/** + * Data used for tooltips. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation import UIKit diff --git a/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewDatasource.swift b/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewDatasource.swift index 56c28e23..e3fb541c 100644 --- a/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewDatasource.swift +++ b/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewDatasource.swift @@ -1,6 +1,21 @@ -// -// ToolTipViewDatasource.swift -// +/** + * Creates tooltips to be used in the ToolTipView. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation diff --git a/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewTheme.swift b/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewTheme.swift index e42f4c53..900bf37c 100644 --- a/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewTheme.swift +++ b/Keyboards/KeyboardsBase/ToolTip/Model/ToolTipViewTheme.swift @@ -1,6 +1,21 @@ -// -// ToolTipViewTheme.swift -// +/** + * Attributes for tooltips. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewDatasourceable.swift b/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewDatasourceable.swift index c33b2f08..b2b5dee8 100644 --- a/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewDatasourceable.swift +++ b/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewDatasourceable.swift @@ -1,6 +1,21 @@ -// -// ToolTipViewDatasourceable.swift -// +/** + * Controls the ToolTipViewDatasourceable protocol. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation diff --git a/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewUpdatable.swift b/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewUpdatable.swift index d2a95a3c..90b30f41 100644 --- a/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewUpdatable.swift +++ b/Keyboards/KeyboardsBase/ToolTip/Protocol/ToolTipViewUpdatable.swift @@ -1,6 +1,21 @@ -// -// ToolTipViewUpdatable.swift -// +/** + * Controls the ToolTipViewUpdatable protocol. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation diff --git a/Keyboards/KeyboardsBase/ToolTip/Protocol/ViewThemeable.swift b/Keyboards/KeyboardsBase/ToolTip/Protocol/ViewThemeable.swift index fae08187..c0e9eb09 100644 --- a/Keyboards/KeyboardsBase/ToolTip/Protocol/ViewThemeable.swift +++ b/Keyboards/KeyboardsBase/ToolTip/Protocol/ViewThemeable.swift @@ -1,6 +1,21 @@ -// -// ViewThemeable.swift -// +/** + * Controls the ViewThemeable protocol. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/ToolTip/ToolTipView.swift b/Keyboards/KeyboardsBase/ToolTip/ToolTipView.swift index b16ff9a5..c1b8eebc 100644 --- a/Keyboards/KeyboardsBase/ToolTip/ToolTipView.swift +++ b/Keyboards/KeyboardsBase/ToolTip/ToolTipView.swift @@ -1,6 +1,21 @@ -// -// ToolTipView.swift -// +/** + * The main file used to control tooltips. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/KeyboardsBase/Utilities.swift b/Keyboards/KeyboardsBase/Utilities.swift index eaf9542e..ed36a7dc 100644 --- a/Keyboards/KeyboardsBase/Utilities.swift +++ b/Keyboards/KeyboardsBase/Utilities.swift @@ -1,8 +1,21 @@ -// -// Utilities.swift -// -// Simple utility functions for data extraction and language management. -// +/** + * Simple utility functions for data extraction and language management. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ /// Returns the ISO code given a language. /// diff --git a/Keyboards/LanguageKeyboards/Danish/DACommandVariables.swift b/Keyboards/LanguageKeyboards/Danish/DACommandVariables.swift index fa0fe054..7e13d47a 100644 --- a/Keyboards/LanguageKeyboards/Danish/DACommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Danish/DACommandVariables.swift @@ -1,8 +1,21 @@ -// -// DACommandVariables.swift -// -// Variables associated with commands for the Danish Scribe keyboard. -// +/** + * Variables associated with commands for the Danish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func daSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Danish/DAInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Danish/DAInterfaceVariables.swift index 92b23ecb..bf70e928 100644 --- a/Keyboards/LanguageKeyboards/Danish/DAInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Danish/DAInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// DAInterfaceVariables.swift -// -// Constants and functions to load the Danish Scribe keyboard. -// +/** + * Constants and functions to load the Danish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/Danish/DAKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Danish/DAKeyboardViewController.swift index c8fbf6d4..a3a470d2 100644 --- a/Keyboards/LanguageKeyboards/Danish/DAKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Danish/DAKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// DAKeyboardViewController.swift -// +/** + * Class for the Danish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class DAKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/English/ENCommandVariables.swift b/Keyboards/LanguageKeyboards/English/ENCommandVariables.swift index 81080c84..e109994f 100644 --- a/Keyboards/LanguageKeyboards/English/ENCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/English/ENCommandVariables.swift @@ -1,8 +1,21 @@ -// -// ENCommandVariables.swift -// -// Variables associated with commands for the English Scribe keyboard. -// +/** + * Variables associated with commands for the English Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func enSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/English/ENInterfaceVariables.swift b/Keyboards/LanguageKeyboards/English/ENInterfaceVariables.swift index 1c15bf07..c49c4013 100644 --- a/Keyboards/LanguageKeyboards/English/ENInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/English/ENInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// ENInterfaceVariables.swift.swift -// -// Constants and functions to load the English Scribe keyboard. -// +/** + * Constants and functions to load the English Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/English/ENKeyboardViewController.swift b/Keyboards/LanguageKeyboards/English/ENKeyboardViewController.swift index c924373a..4127bfd5 100644 --- a/Keyboards/LanguageKeyboards/English/ENKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/English/ENKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// ENKeyboardViewController.swift -// +/** + * Class for the English Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ENKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/French/FR-AZERTYInterfaceVariables.swift b/Keyboards/LanguageKeyboards/French/FR-AZERTYInterfaceVariables.swift index 88f02784..371160ea 100644 --- a/Keyboards/LanguageKeyboards/French/FR-AZERTYInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/French/FR-AZERTYInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// FR-AZERTYInterfaceVariables.swift -// -// Constants and functions to load the AZERTY French Scribe keyboard. -// +/** + * Constants and functions to load the AZERTY French Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/French/FR-QWERTYInterfaceVariables.swift b/Keyboards/LanguageKeyboards/French/FR-QWERTYInterfaceVariables.swift index 8eabc2a4..b0e97a11 100644 --- a/Keyboards/LanguageKeyboards/French/FR-QWERTYInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/French/FR-QWERTYInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// FR-QWERTYInterfaceVariables.swift -// -// Constants and functions to load the QWERTY French Scribe keyboard. -// +/** + * Constants and functions to load the QWERTY French Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ public enum FrenchQWERTYKeyboardConstants { // iPhone keyboard layouts. diff --git a/Keyboards/LanguageKeyboards/French/FRCommandVariables.swift b/Keyboards/LanguageKeyboards/French/FRCommandVariables.swift index f31d47a5..dc5817b7 100644 --- a/Keyboards/LanguageKeyboards/French/FRCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/French/FRCommandVariables.swift @@ -1,8 +1,21 @@ -// -// FRCommandVariables.swift -// -// Variables associated with commands for the French Scribe keyboard. -// +/** + * Variables associated with commands for the French Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func frSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/French/FRKeyboardViewController.swift b/Keyboards/LanguageKeyboards/French/FRKeyboardViewController.swift index f353edc7..d5828790 100644 --- a/Keyboards/LanguageKeyboards/French/FRKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/French/FRKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// FRKeyboardViewController.swift -// +/** + * Class for the French Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class FRKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/German/DECommandVariables.swift b/Keyboards/LanguageKeyboards/German/DECommandVariables.swift index c8b5db37..6104290a 100644 --- a/Keyboards/LanguageKeyboards/German/DECommandVariables.swift +++ b/Keyboards/LanguageKeyboards/German/DECommandVariables.swift @@ -1,8 +1,21 @@ -// -// DECommandVariables.swift -// -// Variables associated with commands for the German Scribe keyboard. -// +/** + * Variables associated with commands for the German Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func deSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/German/DEInterfaceVariables.swift b/Keyboards/LanguageKeyboards/German/DEInterfaceVariables.swift index 4369e388..b7d9e212 100644 --- a/Keyboards/LanguageKeyboards/German/DEInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/German/DEInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// DEInterfaceVariables.swift -// -// Constants and functions to load the German Scribe keyboard. -// +/** + * Constants and functions to load the German Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/German/DEKeyboardViewController.swift b/Keyboards/LanguageKeyboards/German/DEKeyboardViewController.swift index 037014fe..3fb26140 100644 --- a/Keyboards/LanguageKeyboards/German/DEKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/German/DEKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// DEKeyboardViewController.swift -// +/** + * Class for the German Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class DEKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/Hebrew/HECommandVariables.swift b/Keyboards/LanguageKeyboards/Hebrew/HECommandVariables.swift index b7be9ce7..5b1923ca 100644 --- a/Keyboards/LanguageKeyboards/Hebrew/HECommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Hebrew/HECommandVariables.swift @@ -1,8 +1,21 @@ -// -// HECommandVariables.swift -// -// Variables associated with commands for the Hebrew Scribe keyboard. -// +/** + * Variables associated with commands for the Hebrew Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func heSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Hebrew/HEInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Hebrew/HEInterfaceVariables.swift index 5d2e8316..01b97f61 100644 --- a/Keyboards/LanguageKeyboards/Hebrew/HEInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Hebrew/HEInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// HEInterfaceVariables.swift -// -// Constants and functions to load the Hebrew Scribe keyboard. -// +/** + * Constants and functions to load the Hebrew Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/Hebrew/HEKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Hebrew/HEKeyboardViewController.swift index fb538400..a0323b22 100644 --- a/Keyboards/LanguageKeyboards/Hebrew/HEKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Hebrew/HEKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// HEKeyboardViewController.swift -// +/** + * Class for the Hebrew Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class HEKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/Italian/ITCommandVariables.swift b/Keyboards/LanguageKeyboards/Italian/ITCommandVariables.swift index 19cc2d25..55b9147b 100644 --- a/Keyboards/LanguageKeyboards/Italian/ITCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Italian/ITCommandVariables.swift @@ -1,8 +1,21 @@ -// -// ITCommandVariables.swift -// -// Variables associated with commands for the Italian Scribe keyboard. -// +/** + * Variables associated with commands for the Italian Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func itSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift index 14e763dd..cf7847d7 100644 --- a/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// ITInterfaceVariables.swift -// -// Constants and functions to load the Italian Scribe keyboard. -// +/** + * Constants and functions to load the Italian Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/Italian/ITKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Italian/ITKeyboardViewController.swift index 3dbb546e..2f38114b 100644 --- a/Keyboards/LanguageKeyboards/Italian/ITKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Italian/ITKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// ITKeyboardViewController.swift -// +/** + * Class for the Italian Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ITKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/Norwegian/NBCommandVariables.swift b/Keyboards/LanguageKeyboards/Norwegian/NBCommandVariables.swift index 2f4c76d0..0f0202c6 100644 --- a/Keyboards/LanguageKeyboards/Norwegian/NBCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Norwegian/NBCommandVariables.swift @@ -1,8 +1,21 @@ -// -// NBCommandVariables.swift -// -// Variables associated with commands for the Norwegian Bokmål Scribe keyboard. -// +/** + * Variables associated with commands for the Norwegian Bokmål Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func nbSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Norwegian/NBInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Norwegian/NBInterfaceVariables.swift index d8ab9447..44f8f38e 100644 --- a/Keyboards/LanguageKeyboards/Norwegian/NBInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Norwegian/NBInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// NBInterfaceVariables.swift -// -// Constants and functions to load the Norwegian Bokmål Scribe keyboard. -// +/** + * Constants and functions to load the Norwegian Bokmål Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/Norwegian/NBKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Norwegian/NBKeyboardViewController.swift index 02ba2f5c..64a1af61 100644 --- a/Keyboards/LanguageKeyboards/Norwegian/NBKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Norwegian/NBKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// NBKeyboardViewController.swift -// +/** + * Class for the Norwegian Bokmål Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class NBKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/Portuguese/PTCommandVariables.swift b/Keyboards/LanguageKeyboards/Portuguese/PTCommandVariables.swift index f5babf91..c6b7910c 100644 --- a/Keyboards/LanguageKeyboards/Portuguese/PTCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Portuguese/PTCommandVariables.swift @@ -1,8 +1,21 @@ -// -// PTCommandVariables.swift -// -// Variables associated with commands for the Portuguese Scribe keyboard. -// +/** + * Variables associated with commands for the Portuguese Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func ptSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift index 5ff7bb9e..23f97cee 100644 --- a/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// PTInterfaceVariables.swift -// -// Constants and functions to load the Portuguese Scribe keyboard. -// +/** + * Constants and functions to load the Portuguese Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/Portuguese/PTKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Portuguese/PTKeyboardViewController.swift index 53de6052..ca99cf59 100644 --- a/Keyboards/LanguageKeyboards/Portuguese/PTKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Portuguese/PTKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// PTKeyboardViewController.swift -// +/** + * Class for the Portuguese Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class PTKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/Russian/RUCommandVariables.swift b/Keyboards/LanguageKeyboards/Russian/RUCommandVariables.swift index a1e8d99d..d06f18a2 100644 --- a/Keyboards/LanguageKeyboards/Russian/RUCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Russian/RUCommandVariables.swift @@ -1,8 +1,21 @@ -// -// RUCommandVariables.swift -// -// Variables associated with commands for the Russian Scribe keyboard. -// +/** + * Variables associated with commands for the Russian Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func ruSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift index d5407cd9..c34a8255 100644 --- a/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// RUInterfaceVariables.swift -// -// Constants and functions to load the Russian Scribe keyboard. -// +/** + * Commands and functions to load the Russian Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/Russian/RUKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Russian/RUKeyboardViewController.swift index 8fbd0fc6..738cf189 100644 --- a/Keyboards/LanguageKeyboards/Russian/RUKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Russian/RUKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// RUKeyboardViewController.swift -// +/** + * Class for the Russian Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class RUKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/Spanish/ESCommandVariables.swift b/Keyboards/LanguageKeyboards/Spanish/ESCommandVariables.swift index 8851fb83..c1ca7d47 100644 --- a/Keyboards/LanguageKeyboards/Spanish/ESCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Spanish/ESCommandVariables.swift @@ -1,8 +1,21 @@ -// -// ESCommandVariables.swift -// -// Variables associated with commands for the Spanish Scribe keyboard. -// +/** + * Variables associated with commands for the Spanish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func esSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift index f04704e4..a22ba9db 100644 --- a/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift @@ -1,8 +1,21 @@ -// -// ESInterfaceVariables.swift -// -// Constants and functions to load the Spanish Scribe keyboard. -// +/** + * Constants and functions to load the Spanish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Keyboards/LanguageKeyboards/Spanish/ESKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Spanish/ESKeyboardViewController.swift index ec8d2445..a702c05f 100644 --- a/Keyboards/LanguageKeyboards/Spanish/ESKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Spanish/ESKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// ESKeyboardViewController.swift -// +/** + * Class for the Spanish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class ESKeyboardViewController: KeyboardViewController {} diff --git a/Keyboards/LanguageKeyboards/Swedish/SVCommandVariables.swift b/Keyboards/LanguageKeyboards/Swedish/SVCommandVariables.swift index 59e6a821..b60f64fa 100644 --- a/Keyboards/LanguageKeyboards/Swedish/SVCommandVariables.swift +++ b/Keyboards/LanguageKeyboards/Swedish/SVCommandVariables.swift @@ -1,8 +1,21 @@ -// -// SVCommandVariables.swift -// -// Variables associated with commands for the Swedish Scribe keyboard. -// +/** + * Variables associated with commands for the Swedish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ func svSetConjugationLabels() { // Reset all form labels prior to assignment. diff --git a/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift index 70d4871f..3cfe49a3 100644 --- a/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift @@ -1,6 +1,21 @@ -// -// SVInterfaceVariables.swift -// +/** + * Constants and functions to load the Swedish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ // Constants and functions to load the Swedish Scribe keyboard. // diff --git a/Keyboards/LanguageKeyboards/Swedish/SVKeyboardViewController.swift b/Keyboards/LanguageKeyboards/Swedish/SVKeyboardViewController.swift index a8723b06..28db6fc3 100644 --- a/Keyboards/LanguageKeyboards/Swedish/SVKeyboardViewController.swift +++ b/Keyboards/LanguageKeyboards/Swedish/SVKeyboardViewController.swift @@ -1,5 +1,20 @@ -// -// SVKeyboardViewController.swift -// +/** + * Class for the Swedish Scribe keyboard. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ class SVKeyboardViewController: KeyboardViewController {} diff --git a/Scribe/AboutTab/AboutTableData.swift b/Scribe/AboutTab/AboutTableData.swift index 33e285e0..96efb05c 100644 --- a/Scribe/AboutTab/AboutTableData.swift +++ b/Scribe/AboutTab/AboutTableData.swift @@ -1,19 +1,21 @@ -// -// Copyright (C) 2023 Scribe -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// +/** + * Controls data displayed in the About tab. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation diff --git a/Scribe/AboutTab/AboutViewController.swift b/Scribe/AboutTab/AboutViewController.swift index d5675bd7..d218b90f 100644 --- a/Scribe/AboutTab/AboutViewController.swift +++ b/Scribe/AboutTab/AboutViewController.swift @@ -1,19 +1,21 @@ -// -// Copyright (C) 2023 Scribe -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// +/** + * Functions for the About tab. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit import MessageUI diff --git a/Scribe/AboutTab/InformationScreenVC.swift b/Scribe/AboutTab/InformationScreenVC.swift index 3f40d61f..3a75523f 100644 --- a/Scribe/AboutTab/InformationScreenVC.swift +++ b/Scribe/AboutTab/InformationScreenVC.swift @@ -1,6 +1,21 @@ -// -// InformationScreenVC.swift -// +/** + * Sets up information views in the About tab. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/AppDelegate.swift b/Scribe/AppDelegate.swift index 3d84566e..f1903ab0 100644 --- a/Scribe/AppDelegate.swift +++ b/Scribe/AppDelegate.swift @@ -1,8 +1,21 @@ -// -// AppDelegate.swift -// -// A class of methods to manage Scribe's behaviors. -// +/** + * Class of methods to manage Scribe's behaviors. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import CoreData import UIKit diff --git a/Scribe/AppExtensions.swift b/Scribe/AppExtensions.swift index 527be46e..a62ed855 100644 --- a/Scribe/AppExtensions.swift +++ b/Scribe/AppExtensions.swift @@ -1,6 +1,21 @@ -// -// AppExtensions.swift -// +/** + * Extensions for the Scribe app. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/AppStyling.swift b/Scribe/AppStyling.swift index ec467cdb..49ef1aa2 100644 --- a/Scribe/AppStyling.swift +++ b/Scribe/AppStyling.swift @@ -1,8 +1,21 @@ -// -// AppStyling.swift -// -// Functions to style app elements. -// +/** + * Functions to style app elements. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/AppTexts/AppTextStyling.swift b/Scribe/AppTexts/AppTextStyling.swift index 72f06e57..f2063c62 100644 --- a/Scribe/AppTexts/AppTextStyling.swift +++ b/Scribe/AppTexts/AppTextStyling.swift @@ -1,8 +1,21 @@ -// -// AppTextIcons.swift -// -// Functions returning styled text elements for the app screen. -// +/** + * Functions returning styled text elements for the app screen. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/AppTexts/English/ENAppText.swift b/Scribe/AppTexts/English/ENAppText.swift index bbda71b2..6e3e2d03 100644 --- a/Scribe/AppTexts/English/ENAppText.swift +++ b/Scribe/AppTexts/English/ENAppText.swift @@ -1,6 +1,21 @@ -// -// ENAppText.swift -// +/** + * The English app text for the Scribe app. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ // The English app text for the Scribe app. // diff --git a/Scribe/AppTexts/English/ENPrivacyPolicy.swift b/Scribe/AppTexts/English/ENPrivacyPolicy.swift index 7da40783..747ce81d 100644 --- a/Scribe/AppTexts/English/ENPrivacyPolicy.swift +++ b/Scribe/AppTexts/English/ENPrivacyPolicy.swift @@ -1,10 +1,23 @@ -// -// PrivacyPolicy.swift -// -// The English privacy policy for the Scribe app. -// -// PRIVACY.txt is formatted for GitHub, and this is formatted for modular sizing. -// +/** + * The English privacy policy for the Scribe app. + * + *`PRIVACY.txt` is formatted for GitHub, this is formatted for modular sizing. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ let enPrivacyPolicyTitle = "Privacy Policy" let enPrivacyPolicyPageCaption = "Keeping you safe" diff --git a/Scribe/AppTexts/English/ENThirdPartyLicenses.swift b/Scribe/AppTexts/English/ENThirdPartyLicenses.swift index 99046272..f3327104 100644 --- a/Scribe/AppTexts/English/ENThirdPartyLicenses.swift +++ b/Scribe/AppTexts/English/ENThirdPartyLicenses.swift @@ -1,6 +1,21 @@ -// -// ENThirdPartyLicenses.swift -// +/** + * Text displayed on the English Third Party Licenses view. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ let enThirdPartyLicensesTitle = "Third-party licenses" let enThirdPartyLicensesCaption = "Whose code we used" diff --git a/Scribe/AppTexts/English/ENWikimediaAndScribe.swift b/Scribe/AppTexts/English/ENWikimediaAndScribe.swift index b4eb459e..f93dab90 100644 --- a/Scribe/AppTexts/English/ENWikimediaAndScribe.swift +++ b/Scribe/AppTexts/English/ENWikimediaAndScribe.swift @@ -1,6 +1,21 @@ -// -// ENWikimediaAndScribe.swift -// +/** + * Text displayed on the English Wikimedia and Scribe view. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ let enWikimediaAndScribeTitle = "Wikimedia and Scribe" let enWikimediaAndScribeCaption = "How we work together" diff --git a/Scribe/AppTexts/German/DEAppText.swift b/Scribe/AppTexts/German/DEAppText.swift index b8006dc3..8dd39b0c 100644 --- a/Scribe/AppTexts/German/DEAppText.swift +++ b/Scribe/AppTexts/German/DEAppText.swift @@ -1,8 +1,21 @@ -// -// DEAppText.swift -// -// The German app text for the Scribe app. -// +/** + * The German app text for the Scribe app. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/AppTexts/German/DEPrivacyPolicy.swift b/Scribe/AppTexts/German/DEPrivacyPolicy.swift index d10dd462..50a0ffff 100644 --- a/Scribe/AppTexts/German/DEPrivacyPolicy.swift +++ b/Scribe/AppTexts/German/DEPrivacyPolicy.swift @@ -1,10 +1,23 @@ -// -// PrivacyPolicy.swift -// -// The German privacy policy for the Scribe app. -// -// PRIVACY.txt is formatted for GitHub, and this is formatted for modular sizing. -// +/** + * The German privacy policy for the Scribe app. + * + *`PRIVACY.txt` is formatted for GitHub, this is formatted for modular sizing. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ let dePrivacyPolicyTitle = "Datenschutzrichtlinie" let dePrivacyPolicyPageCaption = "Wir sorgen für Ihre Sicherheit" diff --git a/Scribe/AppUISymbols.swift b/Scribe/AppUISymbols.swift index 18ba11cb..f92ec0b9 100644 --- a/Scribe/AppUISymbols.swift +++ b/Scribe/AppUISymbols.swift @@ -1,8 +1,21 @@ -// -// AppUISymbols.swift -// -// Functions returning symbols for the app UI. -// +/** + * Functions returning symbols for the app UI. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/Components/InfoChildTableViewCell/InfoChildTableViewCell.swift b/Scribe/Components/InfoChildTableViewCell/InfoChildTableViewCell.swift index 350e5b9b..0557f841 100644 --- a/Scribe/Components/InfoChildTableViewCell/InfoChildTableViewCell.swift +++ b/Scribe/Components/InfoChildTableViewCell/InfoChildTableViewCell.swift @@ -1,6 +1,21 @@ -// -// InfoChildTableViewCell.swift -// +/** + * Class for a setting component with a heading, description and switch. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/Components/TableViewTemplateViewController.swift b/Scribe/Components/TableViewTemplateViewController.swift index b2b9d5c6..765e87ed 100644 --- a/Scribe/Components/TableViewTemplateViewController.swift +++ b/Scribe/Components/TableViewTemplateViewController.swift @@ -1,6 +1,21 @@ -// -// TableViewTemplateViewController.swift -// +/** + * Controls the table views within the app. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/Components/UITableViewCells/AboutTableViewCell.swift b/Scribe/Components/UITableViewCells/AboutTableViewCell.swift index 1712e2df..12fd5af7 100644 --- a/Scribe/Components/UITableViewCells/AboutTableViewCell.swift +++ b/Scribe/Components/UITableViewCells/AboutTableViewCell.swift @@ -1,19 +1,21 @@ -// -// Copyright (C) 2023 Scribe -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// +/** + * Class for a button component with a label, icon and link icon. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/Extensions/UIEdgeInsetsExtensions.swift b/Scribe/Extensions/UIEdgeInsetsExtensions.swift index f3dc76e3..57d8d1ad 100644 --- a/Scribe/Extensions/UIEdgeInsetsExtensions.swift +++ b/Scribe/Extensions/UIEdgeInsetsExtensions.swift @@ -1,19 +1,21 @@ -// -// Copyright (C) 2023 Scribe -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// +/** + * Extensions for UIEdgeInsets. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/InstallationTab/InstallationVC.swift b/Scribe/InstallationTab/InstallationVC.swift index 21ee2d24..b225f574 100644 --- a/Scribe/InstallationTab/InstallationVC.swift +++ b/Scribe/InstallationTab/InstallationVC.swift @@ -1,8 +1,21 @@ -// -// ViewController.swift -// -// The ViewController for the Installation screen of the Scribe app. -// +/** + * The ViewController for the Installation screen of the Scribe app. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/ParentTableCellModel.swift b/Scribe/ParentTableCellModel.swift index ec47144b..15ef405e 100644 --- a/Scribe/ParentTableCellModel.swift +++ b/Scribe/ParentTableCellModel.swift @@ -1,19 +1,21 @@ -// -// Copyright (C) 2023 Scribe -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// +/** + * Contains structs that control how buttons in the About tab are built. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation diff --git a/Scribe/SettingsTab/SettingsTableData.swift b/Scribe/SettingsTab/SettingsTableData.swift index e702bfeb..c3291a97 100644 --- a/Scribe/SettingsTab/SettingsTableData.swift +++ b/Scribe/SettingsTab/SettingsTableData.swift @@ -1,6 +1,21 @@ -// -// SettingsTableData.swift -// +/** + * Controls data displayed in the Settings tab. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import Foundation diff --git a/Scribe/SettingsTab/SettingsViewController.swift b/Scribe/SettingsTab/SettingsViewController.swift index b16eb362..e40be8e3 100644 --- a/Scribe/SettingsTab/SettingsViewController.swift +++ b/Scribe/SettingsTab/SettingsViewController.swift @@ -1,19 +1,21 @@ -// -// Copyright (C) 2023 Scribe -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// +/** + * Functions for the Settings tab. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit diff --git a/Scribe/Views/BaseTableViewController.swift b/Scribe/Views/BaseTableViewController.swift index df50a1d0..8e79b65d 100644 --- a/Scribe/Views/BaseTableViewController.swift +++ b/Scribe/Views/BaseTableViewController.swift @@ -1,19 +1,21 @@ -// -// Copyright (C) 2023 Scribe -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . -// +/** + * Base for table view in the Scribe app. + * + * Copyright (C) 2023 Scribe + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ import UIKit