mirror of https://github.com/SnapKit/SnapKit
Fixed type in OS check
Fixes a typo that caused iOS-specific layout attributes not to be included installing a constraint.
This commit is contained in:
parent
81be19bc36
commit
7cdb7bd8f8
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue