diff --git a/Snap/Constraint.swift b/Snap/Constraint.swift index f034053..b8fad29 100644 --- a/Snap/Constraint.swift +++ b/Snap/Constraint.swift @@ -382,8 +382,7 @@ public class Constraint { // add constraints installOnView!.addConstraints(layoutConstraints) - installOnView!.snp_installedLayoutConstraints = layoutConstraints - + self.installedOnView = installOnView return layoutConstraints }