Explorar o código

Fixed type in OS check

Fixes a typo that caused iOS-specific layout attributes not to be
included installing a constraint.
Sebastian Rehnby %!s(int64=11) %!d(string=hai) anos
pai
achega
7cdb7bd8f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
             }