mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user