diff --git a/Snappy/LayoutConstraint.swift b/Snappy/LayoutConstraint.swift index 43c7f80..5ccb212 100644 --- a/Snappy/LayoutConstraint.swift +++ b/Snappy/LayoutConstraint.swift @@ -39,7 +39,7 @@ class LayoutConstraint: NSLayoutConstraint { internal class func layoutConstraintsInstalledOnView(view: View) -> Array { var constraints = objc_getAssociatedObject(view, &layoutConstraintsInstalledOnViewKey) as? Array - if constraints { + if constraints != nil { return constraints! } return []