From 58320fe80522414bf3a7e24c88123581dc586752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Chmielewski?= <15248837+mikchmie@users.noreply.github.com> Date: Tue, 1 Nov 2022 04:19:33 +0100 Subject: [PATCH] Add missing 'Superview' word in ConstraintMakerRelatable extension method (#750) --- Sources/ConstraintMakerRelatable+Extensions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ConstraintMakerRelatable+Extensions.swift b/Sources/ConstraintMakerRelatable+Extensions.swift index 63100d7..9fca160 100644 --- a/Sources/ConstraintMakerRelatable+Extensions.swift +++ b/Sources/ConstraintMakerRelatable+Extensions.swift @@ -47,7 +47,7 @@ extension ConstraintMakerRelatable { } @discardableResult - public func greaterThanOrEqualTo(_ closure: (ConstraintView) -> T, _ file: String = #file, line: UInt = #line) -> ConstraintMakerEditable { + public func greaterThanOrEqualToSuperview(_ closure: (ConstraintView) -> T, _ file: String = #file, line: UInt = #line) -> ConstraintMakerEditable { guard let other = self.description.item.superview else { fatalError("Expected superview but found nil when attempting make constraint `greaterThanOrEqualToSuperview`.") }