Skip to content

Commit

Permalink
Merge pull request #27 from ferdibayrak/patch-1
Browse files Browse the repository at this point in the history
Update for iPad 11 inch
  • Loading branch information
cruisediary committed Apr 19, 2020
2 parents 3e2e67a + 01e6160 commit 76a838d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/DeviceLayoutConstraint.swift
Expand Up @@ -23,6 +23,7 @@ class DeviceLayoutConstraint: NSLayoutConstraint {
@IBInspectable var inch9_7: CGFloat = 0.0 { didSet { updateConstant(size: .screen9_7Inch, constant: inch9_7)}}
@IBInspectable var inch10_2: CGFloat = 0.0 { didSet { updateConstant(size: .screen10_2Inch, constant: inch10_2)}}
@IBInspectable var inch10_5: CGFloat = 0.0 { didSet { updateConstant(size: .screen10_5Inch, constant: inch10_5)}}
@IBInspectable var inch11: CGFloat = 0.0 { didSet { updateConstant(size: .screen11Inch, constant: inch11)}}
@IBInspectable var inch12_9: CGFloat = 0.0 { didSet { updateConstant(size: .screen12_9Inch, constant: inch12_9)}}

fileprivate func updateConstant(size: Size, constant: CGFloat) {
Expand Down

0 comments on commit 76a838d

Please sign in to comment.