mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +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,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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user