Latest 0.2.1
Homepage https://github.com/wzc5670594/RBAvatarView
License MIT
Platforms ios 9.0
Authors

CI Status
Version
Language
Platform

RBAvatarView can be used on Xib or Code, circle clip the IMAGE with boardColor and boardWidth automatically.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

RBAvatarView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'RBAvatarView'

Xib

Select a UIImageView then change the Class(UIImageView) to RBAvatarView

Code

let avatar = RBAvatarView();

avatar.image = UIImage.init(named: "storm")

avatar.frame = CGRect.init(x: 100, y: 100, width: 100, height: 100)

view.addSubview(avatar)

avatar.lineWidth = 10

avatar.lineColor = UIColor.red

Author

Ray, [email protected]

License

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

Latest podspec

{
    "name": "RBAvatarView",
    "version": "0.2.1",
    "summary": "RBAvatarViewSwift",
    "description": "RBAvatarView can be used on Xib or Code,nautomatically circle clip the IMAGE with boardColor and boardWidth.",
    "homepage": "https://github.com/wzc5670594/RBAvatarView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ray": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wzc5670594/RBAvatarView.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "RBAvatarView/**/*.swift",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This