mirror of https://github.com/SnapKit/SnapKit
Fix up formatting
This commit is contained in:
parent
e0a859a578
commit
0126a0efc2
|
@ -89,8 +89,8 @@ internal struct ConstraintAttributes: RawOptionSetType, BooleanType {
|
||||||
internal static var CenterWithinMargins: ConstraintAttributes { return self(786432) }
|
internal static var CenterWithinMargins: ConstraintAttributes { return self(786432) }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
internal var layoutAttributes:Array<NSLayoutAttribute> {
|
internal var layoutAttributes:[NSLayoutAttribute] {
|
||||||
var attrs: Array<NSLayoutAttribute> = []
|
var attrs = [NSLayoutAttribute]()
|
||||||
if (self & ConstraintAttributes.Left) {
|
if (self & ConstraintAttributes.Left) {
|
||||||
attrs.append(.Left)
|
attrs.append(.Left)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue