DeviceGuru
DeviceGuru is a simple lib (Swift) to know the exact type of the device, e.g. iPhone 6 or iPhone 6s. For Objective-C please visit UIDeviceUtil
- Easy to use
- Light weight
Installation
Go to http://cocoapods.org
Search for DeviceGuru
lib
Copy the pod dependency and add that to your pod file. e.g.
pod 'DeviceGuru', '~> x.y'
Usage
import DeviceGuru
hardwareString()
Non-Pod users
Just drag and drop the DeviceGuru.swift
file and use below code
DeviceGuru.hardwareString()
Development
Want to contribute? Great!
Send the pull request :)
License
MIT