Latest 0.9.1
Homepage https://github.com/leverdeterre/JMDynamicDeviceName
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

[![CI Status](http://img.shields.io/travis/Jerome Morissard/JMDynamicDeviceName.svg?style=flat)](https://travis-ci.org/Jerome Morissard/JMDynamicDeviceName)
Version
License
Platform

Purpose

Keeping iOS devices names up-to-date in your application without updating your pods :)

Installation

add the following line to your Podfile:

pod "JMDynamicDeviceName"

Usage

//To keep up-to-date your iOS device names 
JMDeviceName.checkForUpdate()

//To get the exact device name 
JMDeviceName.deviceName()

//To get the device family name
JMDeviceName.deviceFamilyName()

//for exemple, iPad Air exists in 3 versions (iPad4,1 iPad4,2 iPad4,3)
JMDeviceName.deviceName() -> iPad4,1 or iPad4,2 or iPad4,3/
"iPad4,1" -> iPad Air (WiFi)
"iPad4,2" -> iPad Air (Cellular)
"iPad4,3" -> iPad Air (China)

//it's more interesting to log family name
"iPad4,1" -> iPad Air
"iPad4,2" -> iPad Air
"iPad4,3" -> iPad Air

Author

Jerome Morissard, [email protected]

License

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

Latest podspec

{
    "name": "JMDynamicDeviceName",
    "version": "0.9.1",
    "summary": "JMDynamicDeviceName is a library to avoid application update for each new Apple devices.",
    "description": "Each devices has a id (like "iPad6,7") when doing analytics it's more simple to manipulate real names (like "iPad Pro (WiFi)")nIf you keep hard coded values your analytics is going to be a mix of device references and names.nAnd it's my first Swift lib !",
    "homepage": "https://github.com/leverdeterre/JMDynamicDeviceName",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jerome Morissard": "[email protected]"
    },
    "source": {
        "git": "https://github.com/leverdeterre/JMDynamicDeviceName.git",
        "tag": "0.9.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "JMDynamicDeviceName/Classes/**/*",
    "resource_bundles": {
        "JMDynamicDeviceName": [
            "JMDynamicDeviceName/Assets/*.json"
        ]
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This