소스 검색

Fixed type in OS check

Fixes a typo that caused iOS-specific layout attributes not to be
included installing a constraint.
Sebastian Rehnby 11 년 전
부모
커밋
7cdb7bd8f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
             }