A category for UIImageView with support for cornerRadius automatically
Switch branches/tags
Nothing to show
Clone or download
Latest commit fd82fde Jul 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HJCornerRadius clear error Apr 14, 2016
HJImageViewDemo.xcodeproj add net image Mar 10, 2016
HJImageViewDemo.xcworkspace add net image Mar 10, 2016
HJImageViewDemo add net image Mar 10, 2016
Pods add net image Mar 10, 2016
.gitignore clear error Apr 14, 2016
HJCornerRadius.podspec 0.0.1 Mar 16, 2017
Podfile add net image Mar 10, 2016
Podfile.lock add net image Mar 10, 2016
README.md Update README.md Jul 28, 2017

README.md

HJCornerRadius

This library provides a category for UIImageView with support for cornerRadius automatically

一行代码搞定图片圆角

For more details please click here

How To Use

imageview.aliCornerRadius = 5.0f;

Note

make sure

imageview.layer.masksToBounds = NO

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.

Podfile

pod 'HJCornerRadius', :git => 'https://github.com/panghaijiao/HJCornerRadius.git'

License:

HJCornerRadius is released under the MIT license. See LICENSE for details.

Sponsor

GitHub