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

View File

@@ -18,7 +18,7 @@
import Foundation
protocol EnterPinCodeCoordinatorDelegate: class {
protocol EnterPinCodeCoordinatorDelegate: AnyObject {
func enterPinCodeCoordinatorDidComplete(_ coordinator: EnterPinCodeCoordinatorType)
func enterPinCodeCoordinatorDidCompleteWithReset(_ coordinator: EnterPinCodeCoordinatorType, dueToTooManyErrors: Bool)
func enterPinCodeCoordinator(_ coordinator: EnterPinCodeCoordinatorType, didCompleteWithPin pin: String)

View File

@@ -18,13 +18,13 @@
import Foundation
protocol EnterPinCodeViewModelViewDelegate: class {
protocol EnterPinCodeViewModelViewDelegate: AnyObject {
func enterPinCodeViewModel(_ viewModel: EnterPinCodeViewModelType, didUpdateViewState viewSate: EnterPinCodeViewState)
func enterPinCodeViewModel(_ viewModel: EnterPinCodeViewModelType, didUpdatePlaceholdersCount count: Int)
func enterPinCodeViewModel(_ viewModel: EnterPinCodeViewModelType, didUpdateCancelButtonHidden isHidden: Bool)
}
protocol EnterPinCodeViewModelCoordinatorDelegate: class {
protocol EnterPinCodeViewModelCoordinatorDelegate: AnyObject {
func enterPinCodeViewModelDidComplete(_ viewModel: EnterPinCodeViewModelType)
func enterPinCodeViewModelDidCompleteWithReset(_ viewModel: EnterPinCodeViewModelType, dueToTooManyErrors: Bool)
func enterPinCodeViewModel(_ viewModel: EnterPinCodeViewModelType, didCompleteWithPin pin: String)