Fix class keyword deprecation warnings everywhere!

Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
This commit is contained in:
Doug
2021-07-09 17:05:43 +01:00
parent cd6e88dfea
commit a4075c89cb
128 changed files with 165 additions and 165 deletions
@@ -16,7 +16,7 @@
import Foundation
protocol SecretsRecoveryWithKeyCoordinatorDelegate: class {
protocol SecretsRecoveryWithKeyCoordinatorDelegate: AnyObject {
func secretsRecoveryWithKeyCoordinatorDidRecover(_ coordinator: SecretsRecoveryWithKeyCoordinatorType)
func secretsRecoveryWithKeyCoordinatorDidCancel(_ coordinator: SecretsRecoveryWithKeyCoordinatorType)
func secretsRecoveryWithKeyCoordinatorWantsToResetSecrets(_ viewModel: SecretsRecoveryWithKeyCoordinatorType)
@@ -16,11 +16,11 @@
import Foundation
protocol SecretsRecoveryWithKeyViewModelViewDelegate: class {
protocol SecretsRecoveryWithKeyViewModelViewDelegate: AnyObject {
func secretsRecoveryWithKeyViewModel(_ viewModel: SecretsRecoveryWithKeyViewModelType, didUpdateViewState viewSate: SecretsRecoveryWithKeyViewState)
}
protocol SecretsRecoveryWithKeyViewModelCoordinatorDelegate: class {
protocol SecretsRecoveryWithKeyViewModelCoordinatorDelegate: AnyObject {
func secretsRecoveryWithKeyViewModelDidRecover(_ viewModel: SecretsRecoveryWithKeyViewModelType)
func secretsRecoveryWithKeyViewModelDidCancel(_ viewModel: SecretsRecoveryWithKeyViewModelType)
func secretsRecoveryWithKeyViewModelWantsToResetSecrets(_ viewModel: SecretsRecoveryWithKeyViewModelType)