From d5e5cf1296274b33af4a86e6457b11114237e038 Mon Sep 17 00:00:00 2001 From: Robert Payne Date: Sat, 11 Apr 2015 19:44:11 +1200 Subject: [PATCH] Tidy up priority medium for OS X --- Source/Constraint.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Constraint.swift b/Source/Constraint.swift index c670fee..34b44a6 100644 --- a/Source/Constraint.swift +++ b/Source/Constraint.swift @@ -233,7 +233,11 @@ final public class Constraint { return self.priority(750.0) } public func priorityMedium() -> Constraint { + #if os(iOS) return self.priority(500.0) + #else + return self.priority(501.0) + #endif } public func priorityLow() -> Constraint { return self.priority(250.0)