Fix up formatting

This commit is contained in:
Robert Payne 2015-04-11 17:12:05 +12:00
parent e0a859a578
commit 0126a0efc2
1 changed files with 65 additions and 65 deletions

View File

@ -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)
} }