Skip to content
This repository was archived by the owner on Nov 2, 2025. It is now read-only.

Commit 76a838d

Browse files
authored
Merge pull request #27 from ferdibayrak/patch-1
Update for iPad 11 inch
2 parents 3e2e67a + 01e6160 commit 76a838d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/DeviceLayoutConstraint.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class DeviceLayoutConstraint: NSLayoutConstraint {
2323
@IBInspectable var inch9_7: CGFloat = 0.0 { didSet { updateConstant(size: .screen9_7Inch, constant: inch9_7)}}
2424
@IBInspectable var inch10_2: CGFloat = 0.0 { didSet { updateConstant(size: .screen10_2Inch, constant: inch10_2)}}
2525
@IBInspectable var inch10_5: CGFloat = 0.0 { didSet { updateConstant(size: .screen10_5Inch, constant: inch10_5)}}
26+
@IBInspectable var inch11: CGFloat = 0.0 { didSet { updateConstant(size: .screen11Inch, constant: inch11)}}
2627
@IBInspectable var inch12_9: CGFloat = 0.0 { didSet { updateConstant(size: .screen12_9Inch, constant: inch12_9)}}
2728

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

0 commit comments

Comments
 (0)