CI Status Version License Platform

Logo

Usage

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

Requirements

This library works on iOS 8 or higher.

Installation

Deviice is available through CocoaPods and Swift Package Manager.

CocoaPods

To install it, simply add the following line to your Podfile:

pod "Deviice"

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 master.

Author

Andrea Mario Lufino, andrealufino.com.

License

Deviice is available under the MIT license. See the LICENSE file for more info.

GitHub

https://github.com/andrealufino/Deviice