mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +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 RoomInfoCoordinatorDelegate: class {
|
||||
protocol RoomInfoCoordinatorDelegate: AnyObject {
|
||||
func roomInfoCoordinatorDidComplete(_ coordinator: RoomInfoCoordinatorType)
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol RoomInfoListCoordinatorDelegate: class {
|
||||
protocol RoomInfoListCoordinatorDelegate: AnyObject {
|
||||
func roomInfoListCoordinator(_ coordinator: RoomInfoListCoordinatorType, wantsToNavigateTo target: RoomInfoListTarget)
|
||||
func roomInfoListCoordinatorDidCancel(_ coordinator: RoomInfoListCoordinatorType)
|
||||
}
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol RoomInfoListViewModelViewDelegate: class {
|
||||
protocol RoomInfoListViewModelViewDelegate: AnyObject {
|
||||
func roomInfoListViewModel(_ viewModel: RoomInfoListViewModelType, didUpdateViewState viewSate: RoomInfoListViewState)
|
||||
}
|
||||
|
||||
protocol RoomInfoListViewModelCoordinatorDelegate: class {
|
||||
protocol RoomInfoListViewModelCoordinatorDelegate: AnyObject {
|
||||
func roomInfoListViewModelDidCancel(_ viewModel: RoomInfoListViewModelType)
|
||||
func roomInfoListViewModel(_ viewModel: RoomInfoListViewModelType, wantsToNavigateTo target: RoomInfoListTarget)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user