A little IBDesignable Swift class for creating round profile image view in, like this:
You can customize the border and overlay of the images from Interface Builder:
Just include the ProfileImageView.swift class, set this custom class on an UIView, and set it's image from code:
@IBOutlet weak var profileImageView: ProfileImageView!
profileImageView.image = UIImage(named: "dad")
To run the example project, clone the repo, and run pod install
from the Example directory first.
ProfileImageView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ProfileImageView"
David Judik, judik.david@gmail.com
ProfileImageView is available under the MIT license. See the LICENSE file for more info.