mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +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 Foundation
|
||||
|
||||
protocol FlowTemplateCoordinatorDelegate: class {
|
||||
protocol FlowTemplateCoordinatorDelegate: AnyObject {
|
||||
func flowTemplateCoordinatorDidComplete(_ coordinator: FlowTemplateCoordinatorType)
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol TemplateScreenCoordinatorDelegate: class {
|
||||
protocol TemplateScreenCoordinatorDelegate: AnyObject {
|
||||
func templateScreenCoordinator(_ coordinator: TemplateScreenCoordinatorType, didCompleteWithUserDisplayName userDisplayName: String?)
|
||||
func templateScreenCoordinatorDidCancel(_ coordinator: TemplateScreenCoordinatorType)
|
||||
}
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol TemplateScreenViewModelViewDelegate: class {
|
||||
protocol TemplateScreenViewModelViewDelegate: AnyObject {
|
||||
func templateScreenViewModel(_ viewModel: TemplateScreenViewModelType, didUpdateViewState viewSate: TemplateScreenViewState)
|
||||
}
|
||||
|
||||
protocol TemplateScreenViewModelCoordinatorDelegate: class {
|
||||
protocol TemplateScreenViewModelCoordinatorDelegate: AnyObject {
|
||||
func templateScreenViewModel(_ viewModel: TemplateScreenViewModelType, didCompleteWithUserDisplayName userDisplayName: String?)
|
||||
func templateScreenViewModelDidCancel(_ viewModel: TemplateScreenViewModelType)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
protocol SimpleScreenTemplateViewControllerDelegate: class {
|
||||
protocol SimpleScreenTemplateViewControllerDelegate: AnyObject {
|
||||
func simpleScreenTemplateViewControllerDidTapSetupAction(_ viewController: SimpleScreenTemplateViewController)
|
||||
func simpleScreenTemplateViewControllerDidCancel(_ viewController: SimpleScreenTemplateViewController)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user