RiValT_About_ViewController
@MainActor
class RiValT_About_ViewController : RiValT_Base_ViewController
extension RiValT_About_ViewController: UIDocumentPickerDelegate
This is the main view controller for the “About This App” screen (accessed from the global settings popover).
-
The app icon is displayed here.
Declaration
Swift
@IBOutlet @MainActor weak var appIconImageView: UIImageView? -
This is the main about text.
Declaration
Swift
@IBOutlet @MainActor weak var aboutText: UITextView? -
The stack that holds the backup buttons and their help text.
Declaration
Swift
@IBOutlet @MainActor private weak var backupActions: UIStackView? -
The temporary directory backing the active export picker.
Declaration
Swift
@MainActor private var exportDirectory: URL?
-
Called when the view hierarchy has loaded.
Declaration
Swift
@MainActor override func viewDidLoad() -
Formats the About text and appends an accessible link to the RVT website.
Declaration
Swift
@MainActor private func configureAboutText() -
Opens the system Settings page for RVT.
Declaration
Swift
@objc @MainActor private func openSettings() -
Adds the export and restore actions and the tip about saving backups to iCloud Drive.
Declaration
Swift
@MainActor private func configureBackupActions() -
Creates a multiline backup button with a system image and VoiceOver text.
Declaration
Swift
@MainActor private func backupButton(_ title: String, symbol: String, accessibilityLabel: String, accessibilityHint: String, handler: @escaping UIActionHandler) -> UIButton -
Writes a dated backup to a temporary folder and offers it to the document picker.
Declaration
Swift
@MainActor private func exportTimerBackup() -
Presents a document picker restricted to timer backup files.
Declaration
Swift
@MainActor private func chooseTimerBackup() -
Configures delegate callbacks before presenting a backup document picker.
Declaration
Swift
@MainActor private func showPicker(_ picker: UIDocumentPickerViewController) -
Removes the temporary export if the user cancels the picker.
Declaration
Swift
@MainActor func documentPickerWasCancelled(_ controller: UIDocumentPickerViewController) -
Removes the temporary export after an interactive dismissal.
Declaration
Swift
@MainActor func presentationControllerDidDismiss(_ presentationController: UIPresentationController) -
Cleans up a completed export or validates the chosen restore file after closing the picker.
Declaration
Swift
@MainActor func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL]) -
Removes the temporary export directory and clears the reference to it.
Declaration
Swift
@MainActor private func removeExportDirectory() -
Requests confirmation for a valid restore or shows the appropriate validation error.
Declaration
Swift
@MainActor private func showRestoreResult(_ result: Result<RiValT_TimerBackup, Error>) -
Shows how many presets and groups will replace the current setup and asks for confirmation.
Declaration
Swift
@MainActor private func confirmRestore(_ backup: RiValT_TimerBackup) -
Applies the confirmed backup, refreshes Watch state, and reports the result.
Declaration
Swift
@MainActor private func restoreTimerBackup(_ backup: RiValT_TimerBackup) -
Presents a localized backup status or error with a single dismissal action.
Declaration
Swift
@MainActor private func showBackupMessage(_ title: String)
View on GitHub
Install in Dash