diff options
Diffstat (limited to 'Jel/Models/UIScreenWidthExtension.swift')
-rw-r--r-- | Jel/Models/UIScreenWidthExtension.swift | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Jel/Models/UIScreenWidthExtension.swift b/Jel/Models/UIScreenWidthExtension.swift new file mode 100644 index 0000000..6f2f5de --- /dev/null +++ b/Jel/Models/UIScreenWidthExtension.swift @@ -0,0 +1,15 @@ +// +// UIScreenWidthExtension.swift +// Jel +// +// Created by zerocool on 2/14/24. +// + +import Foundation +import UIKit + +extension UIScreen{ + static let screenWidth = UIScreen.main.bounds.size.width + static let screenHeight = UIScreen.main.bounds.size.height + static let screenSize = UIScreen.main.bounds.size +} |