From b313f3e6372383770081c41beb1f602485f04497 Mon Sep 17 00:00:00 2001 From: David Wu Date: Thu, 5 Jan 2017 23:25:30 -0800 Subject: [PATCH] Fix wrong function call within contentCompressionResistanceHorizontalPriority (#387) --- Source/ConstraintViewDSL.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ConstraintViewDSL.swift b/Source/ConstraintViewDSL.swift index 0242c4a..8b38d32 100644 --- a/Source/ConstraintViewDSL.swift +++ b/Source/ConstraintViewDSL.swift @@ -74,7 +74,7 @@ public struct ConstraintViewDSL: ConstraintAttributesDSL { return self.view.contentCompressionResistancePriority(for: .horizontal) } set { - self.view.setContentHuggingPriority(newValue, for: .horizontal) + self.view.setContentCompressionResistancePriority(newValue, for: .horizontal) } }