dev

Deviice

Swift library to easily check the current device and some more info about it.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

45

Maintenance

Last Commit

3d ago

Contributors

5

Package

Dependencies

0

License

MIT

Categories

Readme

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.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100