diff --git a/DropDown/src/DropDown.swift b/DropDown/src/DropDown.swift index f41e8dd..e3b326d 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 } @@ -551,6 +551,7 @@ private extension DropDown { tableView.separatorColor = separatorColor tableView.layer.cornerRadius = cornerRadius tableView.layer.masksToBounds = true + tableView.separatorInset.left = 0 } }