Latest 1.0.2
Homepage https://github.com/YRDGroup/DMContactBook
License MIT
Platforms ios
Authors

DMContactBook

Usage

Example apps for iOS are included with the project. Here is one simple usage pattern:

  [DMGetAddressBook getAllAddressBookDataViaJSON:^(NSString *json) {
        NSLog(@"%@",json);
    }];

//json result
{
  "msg" : "授权成功",
  "code" : "1",
  "dataArray" : [
    {
      "number" : "无号码",
      "org" : "",
      "familyName" : "A",
      "type" : "未知类型",
      "note" : "",
      "fullName" : "A",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "无号码",
      "org" : "",
      "familyName" : "B",
      "type" : "未知类型",
      "note" : "",
      "fullName" : "B",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "无号码",
      "org" : "",
      "familyName" : "C",
      "type" : "未知类型",
      "note" : "",
      "fullName" : "C",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "18888854486",
      "org" : "",
      "familyName" : "名字",
      "type" : "Home",
      "note" : "",
      "fullName" : "名字",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "18214148525",
      "org" : "",
      "familyName" : "Nznzb",
      "type" : "Home",
      "note" : "",
      "fullName" : "Nznzb",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "15532308745",
      "org" : "",
      "familyName" : "Nznzb",
      "type" : "Work",
      "note" : "",
      "fullName" : "Nznzb",
      "nickyName" : "Z未命名昵称"
    },
    {
      "number" : "18888854381",
      "org" : "",
      "familyName" : "Z未命名姓氏",
      "type" : "Home",
      "note" : "",
      "fullName" : "Z未命名",
      "nickyName" : "Z未命名昵称"
    }
  ]
}

Installation

To install using CocoaPods, add the following to your project Podfile:

pod 'DMContactBook', '~>1.0.1'

License

DMContactBook is released under a MIT License. See LICENSE file for details.

Latest podspec

{
    "name": "DMContactBook",
    "version": "1.0.2",
    "summary": "u65b9u4fbfu7684u901au8bafu5f55u6570u636eu83b7u53d6u548cu4e0au4f20",
    "description": "u901au8bafu5f55u6570u636eu8f6cu5316u4e3aJSONuff0cu8fdbu884cu6570u636eu4e0au4f20u548cu5904u7406",
    "homepage": "https://github.com/YRDGroup/DMContactBook",
    "license": "MIT",
    "authors": {
        "liergou": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/YRDGroup/DMContactBook.git",
        "tag": "1.0.2"
    },
    "source_files": [
        "DMContactBook",
        "DMContactBook/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This