Latest 0.1.0
Homepage https://github.com/judikdavid/ProfileImageView
License MIT
Platforms ios 8.2, requires ARC
Authors

A little IBDesignable Swift class for creating round profile image view in, like this:

man
girl

You can customize the border and overlay of the images from Interface Builder:

parameters

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")

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

ProfileImageView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "ProfileImageView"

Author

David Judik, [email protected]

License

ProfileImageView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ProfileImageView",
    "version": "0.1.0",
    "summary": "Round UIImageView to display profile images like in the Contacts App",
    "description": "UIView subclass which is basically a round UIImageView with other features like overlay and initials when there is no image available",
    "homepage": "https://github.com/judikdavid/ProfileImageView",
    "license": "MIT",
    "authors": {
        "David Judik": "[email protected]"
    },
    "source": {
        "git": "https://github.com/judikdavid/ProfileImageView.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/judikdavid",
    "platforms": {
        "ios": "8.2"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "ProfileImageView": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This