diff --git a/Source/Constraint.swift b/Source/Constraint.swift index 59676ff..b671494 100644 --- a/Source/Constraint.swift +++ b/Source/Constraint.swift @@ -313,7 +313,7 @@ public class Constraint { NSException(name: "Cannot Install Constraint", reason: "Already installed on different view.", userInfo: nil).raise() return [] } - return self.installedLayoutConstraints?.allObjects as Array + return (self.installedLayoutConstraints?.allObjects as? Array)! } var newLayoutConstraints = Array()