Fix wrong function call within contentCompressionResistanceHorizontalPriority (#387)

This commit is contained in:
David Wu 2017-01-05 23:25:30 -08:00 committed by Robert Payne
parent ab6c1fd91f
commit b313f3e637
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public struct ConstraintViewDSL: ConstraintAttributesDSL {
return self.view.contentCompressionResistancePriority(for: .horizontal) return self.view.contentCompressionResistancePriority(for: .horizontal)
} }
set { set {
self.view.setContentHuggingPriority(newValue, for: .horizontal) self.view.setContentCompressionResistancePriority(newValue, for: .horizontal)
} }
} }