Tidy up priority medium for OS X

This commit is contained in:
Robert Payne 2015-04-11 19:44:11 +12:00
parent 4904b40bfa
commit d5e5cf1296
1 changed files with 4 additions and 0 deletions

View File

@ -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)