Swift library to check the device on which the app is running
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
Pod Updated to 0.52.00 Feb 27, 2018
.gitattributes Added gitattributes Jul 27, 2017
.gitignore Initial commit Mar 20, 2016
.swift-version Changes Jul 18, 2017
.travis.yml Initial commit Mar 20, 2016
Deviice.podspec Updated to 0.52.00 Feb 27, 2018
LICENSE Initial commit Mar 20, 2016
README.md Changed README Jul 18, 2017
_Pods.xcodeproj Initial commit Mar 20, 2016

README.md

[![CI Status](http://img.shields.io/travis/Andrea Mario Lufino/Deviice.svg?style=flat)](https://travis-ci.org/Andrea Mario Lufino/Deviice) 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.completeDeviceName

Requirements

This library works on iOS 8 or higher.

Installation

Deviice is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Deviice"

Author

Andrea Mario Lufino, andrea.lufino@me.com

License

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