Browse Source

Fixed type in OS check

Fixes a typo that caused iOS-specific layout attributes not to be
included installing a constraint.
Sebastian Rehnby 11 years ago
parent
commit
7cdb7bd8f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Snap/ConstraintAttributes.swift

+ 1 - 1
Snap/ConstraintAttributes.swift

@@ -124,7 +124,7 @@ internal struct ConstraintAttributes: RawOptionSetType, BooleanType {
             if (self & ConstraintAttributes.Baseline) {
                 attrs.append(.Baseline)
             }
-            #if os(ios)
+            #if os(iOS)
             if (self & ConstraintAttributes.FirstBaseline) {
                 attrs.append(.FirstBaseline)
             }