From 0ee3fbb269fd821daf24d061b50679f796480c8b Mon Sep 17 00:00:00 2001 From: Jonathan Cole Date: Thu, 29 Oct 2020 11:55:26 -0400 Subject: [PATCH] Add some MARKs --- Source/Anchorage.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Anchorage.swift b/Source/Anchorage.swift index 0de1363..9591a70 100644 --- a/Source/Anchorage.swift +++ b/Source/Anchorage.swift @@ -163,6 +163,8 @@ infix operator |==|: ComparisonPrecedence // MARK: - Inequality Constraints +// MARK: <= + infix operator |<=|: ComparisonPrecedence @discardableResult public func <= (lhs: NSLayoutDimension, rhs: T) -> NSLayoutConstraint { @@ -282,6 +284,8 @@ infix operator |<=|: ComparisonPrecedence return lhs.finalize(constraintsLessThanOrEqualToConstant: rhs.constant, priority: rhs.priority) } +// MARK: >= + infix operator |>=|: ComparisonPrecedence @discardableResult public func >= (lhs: NSLayoutDimension, rhs: T) -> NSLayoutConstraint {