diff --git a/Source/Library/LayoutConfigurable.swift b/Source/Library/LayoutConfigurable.swift index 2b54fd7..c68c42a 100644 --- a/Source/Library/LayoutConfigurable.swift +++ b/Source/Library/LayoutConfigurable.swift @@ -1,4 +1,4 @@ -protocol LayoutConfigurable: class { +protocol LayoutConfigurable: AnyObject { func configureLayout() } diff --git a/Source/Views/FooterView.swift b/Source/Views/FooterView.swift index e948c38..85da02d 100644 --- a/Source/Views/FooterView.swift +++ b/Source/Views/FooterView.swift @@ -1,6 +1,6 @@ import UIKit -public protocol FooterViewDelegate: class { +public protocol FooterViewDelegate: AnyObject { func footerView(_ footerView: FooterView, didExpand expanded: Bool) } diff --git a/Source/Views/HeaderView.swift b/Source/Views/HeaderView.swift index d51a64d..dfdc3ae 100644 --- a/Source/Views/HeaderView.swift +++ b/Source/Views/HeaderView.swift @@ -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) } diff --git a/Source/Views/InfoLabel.swift b/Source/Views/InfoLabel.swift index 5301f0d..db29ccb 100644 --- a/Source/Views/InfoLabel.swift +++ b/Source/Views/InfoLabel.swift @@ -1,6 +1,6 @@ import UIKit -public protocol InfoLabelDelegate: class { +public protocol InfoLabelDelegate: AnyObject { func infoLabel(_ infoLabel: InfoLabel, didExpand expanded: Bool) }