From d60315b74f7c132945a137824025c0569e4a0897 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 26 May 2023 16:48:41 -0500 Subject: [PATCH] added comments to UIDevice extension Signed-off-by: Matt Bruce --- VDS/Extensions/UIDevice.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VDS/Extensions/UIDevice.swift b/VDS/Extensions/UIDevice.swift index ccce58c9..b41e4407 100644 --- a/VDS/Extensions/UIDevice.swift +++ b/VDS/Extensions/UIDevice.swift @@ -9,6 +9,8 @@ import Foundation import UIKit extension UIDevice { + + /// Helper property to see if your current device running is an iPad or not public static var isIPad: Bool { UIDevice.current.userInterfaceIdiom == .pad }