A UiimageView class for creating circular or rounded avatar images, IBDesignable to make all changes via storyboard
Drag 'n drop the SwiftyAvatar.swift into your project, select your UimageView and change it's class to SwiftyAvatar.
The UiimageView must be a square with aspect ratio 1:1 or fixed width and height.
Available properties: Roundness, Border Width, Border Color, Background Color & Spin (for fun :D).
IBDesignable to see your changes in storyboard.