Home

Awesome

SwiftyAvatar

3.0 Apache CocoaPods Compatible

iOS Swift 3.0 UIimage class Create awesome circular avatar images!

enter image description here


IBInspectable attributes accessible from the identity inspector.

You can see the changes directly on the storyboard!


Installation

Cocoapods:

Manual:


How to use

Storyboard:

Code:

let avatar = SwiftyAvatar()
avatar.image = UIImage(named:"yourImage")
let avatar = SwiftyAvatar(size: 50, 
                          roundess: 2, 
                          borderWidth: 1, 
                          borderColor: .orange, 
                          background: .black)
                          
    avatar.image = UIImage(named: "yourImage")

Contact & Contribute