Latest 1.1.2
License MIT
Platforms ios 8.0, requires ARC

WHRoundedImageView WHRoundedImageView WHRoundedImageView WHRoundedImageView Analytics

WHRoundedImageView is a plain simple swift component that extends a UIImageView. It allows you to add Radius and Border to an image directly in Interface Builder.

Live preview is fully supported.



For iOS 8.0+

RoundImageView is available through CocoaPods, just add the reference to your Podfile:

pod 'WHRoundedImageView'
For All (including iOS 8.0+)

You can copy WHRoundedImageView.swift directly into your project.


  1. Set class to WHRoundedImageView in Identity Inspector, and use it as a normal UIImageView.
  2. Set properties below:
    • radiusRatio Default: 0.0 (0.5 = fully rounded corners for square images)
    • borderWidth Default: 0.0
    • borderColor Default: blackColor


Wei He [email protected]


Fork of ravero/RoundImageView

Latest podspec

    "name": "WHRoundedImageView",
    "version": "1.1.2",
    "summary": "A derived UIImageView class to render a rounded image with radius and border options.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Wei He": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1.2"
    "platforms": {
        "ios": "8.0"
    "requires_arc": true,
    "source_files": "WHRoundedImageView/**/*.swift"

Pin It on Pinterest

Share This