A simple UIImageView that renders the image inside a rounded badge, with optional border and vibrance effect. Written in Swift and designable in Interface Builder.
For a complete example see the enclosed BMXAvatarViewTest project.
- designable in Interface Builder
- customizable border size and color
- built in vibrance effect
- Add
BMXAvatarViewframework to project inProject > General > Linked Frameworks and Libraries. - Set
AvatarViewin Custom Class field in Identity Inspector. - Configure the properties as required in Attribute Inspector.
