A Utility framework to access Device related information
Requirements • Usage • Installation • Author • Licence
DeviceUtility requires iOS 10+ and is compatible with Swift 5 projects.
DeviceUtility can be used to obtain Device related Information. The Device Info can be access through DeviceUtility.currentDevice.
DeviceUtility.currentDevice.model
DeviceUtility.currentDevice.hasNotch
DeviceUtility.currentDevice.isPhone
DeviceUtility.currentDevice.isPad
DeviceUtility.currentDevice.isMac
DeviceUtility is available through SPM. To install it, simply add the following line to your package.swift file:
.package(url: "https://github.com/Vignesh-Thangamariappan/DeviceUtility.git", .upToNextMajor(from: "0.1.0"))
vignesh_thangamariappan, [email protected]
DeviceUtility is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 1 |
Last commit: 36 weeks ago |
Version 0.1.8
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics