Skip to content

Commit

Permalink
Add some MARKs
Browse files Browse the repository at this point in the history
  • Loading branch information
colejd committed Oct 29, 2020
1 parent 73eeee4 commit 0ee3fbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Anchorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ infix operator |==|: ComparisonPrecedence

// MARK: - Inequality Constraints

// MARK: <=

infix operator |<=|: ComparisonPrecedence

@discardableResult public func <= <T: BinaryFloatingPoint>(lhs: NSLayoutDimension, rhs: T) -> NSLayoutConstraint {
Expand Down Expand Up @@ -282,6 +284,8 @@ infix operator |<=|: ComparisonPrecedence
return lhs.finalize(constraintsLessThanOrEqualToConstant: rhs.constant, priority: rhs.priority)
}

// MARK: >=

infix operator |>=|: ComparisonPrecedence

@discardableResult public func >= <T: BinaryFloatingPoint>(lhs: NSLayoutDimension, rhs: T) -> NSLayoutConstraint {
Expand Down

0 comments on commit 0ee3fbb

Please sign in to comment.