mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
protocol KeyBackupSetupIntroViewControllerDelegate: class {
|
||||
protocol KeyBackupSetupIntroViewControllerDelegate: AnyObject {
|
||||
func keyBackupSetupIntroViewControllerDidTapSetupAction(_ keyBackupSetupIntroViewController: KeyBackupSetupIntroViewController)
|
||||
func keyBackupSetupIntroViewControllerDidCancel(_ keyBackupSetupIntroViewController: KeyBackupSetupIntroViewController)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol KeyBackupSetupCoordinatorDelegate: class {
|
||||
protocol KeyBackupSetupCoordinatorDelegate: AnyObject {
|
||||
func keyBackupSetupCoordinatorDidCancel(_ keyBackupSetupCoordinator: KeyBackupSetupCoordinatorType)
|
||||
func keyBackupSetupCoordinatorDidSetupRecoveryKey(_ keyBackupSetupCoordinator: KeyBackupSetupCoordinatorType)
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol KeyBackupSetupPassphraseCoordinatorDelegate: class {
|
||||
protocol KeyBackupSetupPassphraseCoordinatorDelegate: AnyObject {
|
||||
func keyBackupSetupPassphraseCoordinator(_ keyBackupSetupPassphraseCoordinator: KeyBackupSetupPassphraseCoordinatorType, didCreateBackupFromPassphraseWithResultingRecoveryKey recoveryKey: String)
|
||||
func keyBackupSetupPassphraseCoordinator(_ keyBackupSetupPassphraseCoordinator: KeyBackupSetupPassphraseCoordinatorType, didCreateBackupFromRecoveryKey recoveryKey: String)
|
||||
func keyBackupSetupPassphraseCoordinatorDidCancel(_ keyBackupSetupPassphraseCoordinator: KeyBackupSetupPassphraseCoordinatorType)
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol KeyBackupSetupPassphraseViewModelViewDelegate: class {
|
||||
protocol KeyBackupSetupPassphraseViewModelViewDelegate: AnyObject {
|
||||
func keyBackupSetupPassphraseViewModel(_ viewModel: KeyBackupSetupPassphraseViewModelType, didUpdateViewState viewSate: KeyBackupSetupPassphraseViewState)
|
||||
func keyBackupSetupPassphraseViewModelShowSkipAlert(_ viewModel: KeyBackupSetupPassphraseViewModelType)
|
||||
}
|
||||
|
||||
protocol KeyBackupSetupPassphraseViewModelCoordinatorDelegate: class {
|
||||
protocol KeyBackupSetupPassphraseViewModelCoordinatorDelegate: AnyObject {
|
||||
func keyBackupSetupPassphraseViewModel(_ viewModel: KeyBackupSetupPassphraseViewModelType, didCreateBackupFromPassphraseWithResultingRecoveryKey recoveryKey: String)
|
||||
func keyBackupSetupPassphraseViewModel(_ viewModel: KeyBackupSetupPassphraseViewModelType, didCreateBackupFromRecoveryKey recoveryKey: String)
|
||||
func keyBackupSetupPassphraseViewModelDidCancel(_ viewModel: KeyBackupSetupPassphraseViewModelType)
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
protocol KeyBackupSetupSuccessFromPassphraseViewControllerDelegate: class {
|
||||
protocol KeyBackupSetupSuccessFromPassphraseViewControllerDelegate: AnyObject {
|
||||
func keyBackupSetupSuccessFromPassphraseViewControllerDidTapDoneAction(_ viewController: KeyBackupSetupSuccessFromPassphraseViewController)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
protocol KeyBackupSetupSuccessFromRecoveryKeyViewControllerDelegate: class {
|
||||
protocol KeyBackupSetupSuccessFromRecoveryKeyViewControllerDelegate: AnyObject {
|
||||
func keyBackupSetupSuccessFromRecoveryKeyViewControllerDidTapDoneAction(_ viewController: KeyBackupSetupSuccessFromRecoveryKeyViewController)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
protocol KeyBackupSetupSuccessFromSecureBackupViewControllerDelegate: class {
|
||||
protocol KeyBackupSetupSuccessFromSecureBackupViewControllerDelegate: AnyObject {
|
||||
func keyBackupSetupSuccessFromSecureBackupViewControllerDidTapDoneAction(_ viewController: KeyBackupSetupSuccessFromSecureBackupViewController)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user