Latest 1.0.5
Homepage https://github.com/tiancanfei/ADDeviceTool
License MIT
Platforms ios 8.0, osx 10.10, tvos 9.0, watchos 2.0
Authors

获取Apple设备信息的方法,经常会用到,没有什么技术含量,但是很麻烦,抽出来供大家使用

导入方法

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target 'Example' do
    pod 'ADDeviceTool', '~> 1.0.5'
end

使用方法

ADDeviceTool.getDevieceType()

Latest podspec

{
    "name": "ADDeviceTool",
    "version": "1.0.5",
    "summary": "u5febu901fu83b7u53d6Appleu8bbeu5907u7c7bu578b",
    "homepage": "https://github.com/tiancanfei/ADDeviceTool",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5929u8695u98de": "[email protected]"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "source": {
        "git": "https://github.com/tiancanfei/ADDeviceTool.git",
        "tag": "1.0.5"
    },
    "source_files": "ADDeviceTool/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This