From 7cdb7bd8f8f57617e5739257c2fffaff20295f14 Mon Sep 17 00:00:00 2001 From: Sebastian Rehnby Date: Wed, 4 Feb 2015 15:51:36 +0100 Subject: [PATCH] Fixed type in OS check Fixes a typo that caused iOS-specific layout attributes not to be included installing a constraint. --- Snap/ConstraintAttributes.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snap/ConstraintAttributes.swift b/Snap/ConstraintAttributes.swift index a10ce5c..e7dfbd3 100644 --- a/Snap/ConstraintAttributes.swift +++ b/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) }