Merge pull request #295 from novr/fix_compiler_warning_class

fix: 'class' keyword to define a class-constrained protocol is deprecated
This commit is contained in:
Elvis
2022-12-21 06:39:24 +01:00
committed by GitHub
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
protocol LayoutConfigurable: class {
protocol LayoutConfigurable: AnyObject {
func configureLayout()
}
+1 -1
View File
@@ -1,6 +1,6 @@
import UIKit
public protocol FooterViewDelegate: class {
public protocol FooterViewDelegate: AnyObject {
func footerView(_ footerView: FooterView, didExpand expanded: Bool)
}
+1 -1
View File
@@ -1,6 +1,6 @@
import UIKit
protocol HeaderViewDelegate: class {
protocol HeaderViewDelegate: AnyObject {
func headerView(_ headerView: HeaderView, didPressDeleteButton deleteButton: UIButton)
func headerView(_ headerView: HeaderView, didPressCloseButton closeButton: UIButton)
}
+1 -1
View File
@@ -1,6 +1,6 @@
import UIKit
public protocol InfoLabelDelegate: class {
public protocol InfoLabelDelegate: AnyObject {
func infoLabel(_ infoLabel: InfoLabel, didExpand expanded: Bool)
}