From 349fec7674f588d7c32b2aa0c55dfe46eb9f071b Mon Sep 17 00:00:00 2001 From: Timothy Moose Date: Tue, 29 Jun 2021 13:48:32 -0500 Subject: [PATCH] Fix warning --- SwiftMessages/KeyboardTrackingView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SwiftMessages/KeyboardTrackingView.swift b/SwiftMessages/KeyboardTrackingView.swift index 69ce6b0b..6af384a6 100644 --- a/SwiftMessages/KeyboardTrackingView.swift +++ b/SwiftMessages/KeyboardTrackingView.swift @@ -8,7 +8,7 @@ import UIKit -public protocol KeyboardTrackingViewDelegate: class { +public protocol KeyboardTrackingViewDelegate: AnyObject { func keyboardTrackingViewWillChange(change: KeyboardTrackingView.Change, userInfo: [AnyHashable : Any]) func keyboardTrackingViewDidChange(change: KeyboardTrackingView.Change, userInfo: [AnyHashable : Any]) }