From 5126ce1cae64e62e855b9728b8b1bd3176c50be2 Mon Sep 17 00:00:00 2001 From: Anant Vijay Date: Thu, 26 Aug 2021 12:45:03 +0530 Subject: [PATCH] Fixed warning for protocol conformance --- DropDown/src/DropDown.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DropDown/src/DropDown.swift b/DropDown/src/DropDown.swift index f41e8dd..9139e63 100644 --- a/DropDown/src/DropDown.swift +++ b/DropDown/src/DropDown.swift @@ -20,7 +20,7 @@ private typealias ComputeLayoutTuple = (x: CGFloat, y: CGFloat, width: CGFloat, /// Can be `UIView` or `UIBarButtonItem`. @objc -public protocol AnchorView: class { +public protocol AnchorView: AnyObject { var plainView: UIView { get }