mirror of https://github.com/SnapKit/SnapKit
Fix Xcode Beta 3 compiler error
This commit is contained in:
parent
8b406c09b4
commit
1e5cdba18d
|
@ -313,7 +313,7 @@ public class Constraint {
|
||||||
NSException(name: "Cannot Install Constraint", reason: "Already installed on different view.", userInfo: nil).raise()
|
NSException(name: "Cannot Install Constraint", reason: "Already installed on different view.", userInfo: nil).raise()
|
||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
return self.installedLayoutConstraints?.allObjects as Array<LayoutConstraint>
|
return (self.installedLayoutConstraints?.allObjects as? Array<LayoutConstraint>)!
|
||||||
}
|
}
|
||||||
|
|
||||||
var newLayoutConstraints = Array<LayoutConstraint>()
|
var newLayoutConstraints = Array<LayoutConstraint>()
|
||||||
|
|
Loading…
Reference in New Issue