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
@@ -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)
}