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
@@ -16,12 +16,12 @@
import UIKit
protocol SplitViewMasterPresentableDelegate: class {
protocol SplitViewMasterPresentableDelegate: AnyObject {
func splitViewMasterPresentable(_ presentable: Presentable, wantsToDisplay detailPresentable: Presentable)
}
/// Protocol used by the master view presentable of a UISplitViewController
protocol SplitViewMasterPresentable: class, Presentable {
protocol SplitViewMasterPresentable: AnyObject, Presentable {
var splitViewMasterPresentableDelegate: SplitViewMasterPresentableDelegate? { get set }