To run the example project, clone the repo, and run
pod install from the Example directory first.
let device = Deviice.current
device is a Deviice struct and has some properties:
device.identifier device.type device.modelName device.size device.connectivity device.year device.completeDeviceName
This library works on iOS 8 or higher.
Deviice is available through CocoaPods and Swift Package Manager.
To install it, simply add the following line to your Podfile:
Swift Package Manager
To add Deviice to your Xcode project, select File -> Swift Packages -> Add Package Depedancy. Enter
https://github.com/andrealufino/Deviice for the URL. Check the use branch option and enter
Andrea Mario Lufino, andrealufino.com.
Deviice is available under the MIT license. See the LICENSE file for more info.