Latest 1.0.0
Homepage https://github.com/FengDeng/DFHeadImageView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, Foundation, MobileCoreServices, AssetsLibrary
Authors

xib 一句代码不写可迅速集成。用于设置圆形头像,方形头像。可直接代码setImage,可以选择相册,可以拍照。


1.在xib中的UIImageView的class中填上DFHeadImageView,即可


Screenshot

2.如果想要对这个imageview操作,也可直接拖到属性里


Screenshot

3.我们来看看我们一句代码没写实现了什么


Screenshot

How do I use it?

pod ‘DFHeadImageView’, ‘1.0.0’

Latest podspec

{
    "name": "DFHeadImageView",
    "version": "1.0.0",
    "summary": "xib u4e00u53e5u4ee3u7801u4e0du5199u53efu8fc5u901fu96c6u6210u3002u7528u4e8eu8bbeu7f6eu5706u5f62u5934u50cfuff0cu65b9u5f62u5934u50cfu3002u53efu76f4u63a5u4ee3u7801setImageuff0cu53efu4ee5u9009u62e9u76f8u518cuff0cu53efu4ee5u62cdu7167u3002",
    "description": "                   A longer description of HeadImageView in Markdown format.nn                   * Think: Why did you write this? What is the focus? What does it do?n                   * CocoaPods will be using this to generate tags, and improve search results.n                   * Try to keep it short, snappy and to the point.n                   * Finally, don't worry about the indent, CocoaPods strips it!n",
    "homepage": "https://github.com/FengDeng/DFHeadImageView",
    "license": "MIT",
    "authors": {
        "FengDeng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/FengDeng/DFHeadImageView.git",
        "tag": "1.0.0"
    },
    "source_files": "DFHeadImageView/*",
    "exclude_files": "",
    "frameworks": [
        "UIKit",
        "Foundation",
        "MobileCoreServices",
        "AssetsLibrary"
    ],
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    }
}

Pin It on Pinterest

Share This