CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

FLCorner 0.0.4

FLCorner 0.0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2016

Maintained by ‘atony2099 --description=描述信息 pod trunk me pod trunk me pod trunk register [email protected] ‘atony2099, tony2009.



FLCorner 0.0.4

  • By
  • atony2099

This library provides a category for UIImageView with an effective way to add rounded corners 高效添加图片圆角

  • CoreGraphics绘制图片,解决了图片离屏渲染卡顿问题
  • 提供多种快速添加圆角的方式

usage:

// 方式1 圆角
[imageView fl_imageViewWithCorner:50.f];
// 方式2 圆角+边框(默认黑色)
[imageView fl_imageViewWithCorner:50.f borderWidth:10.f];
//  方式3 圆角+自定义边框颜色
[imageV4 fl_imageViewWithCorner:50.f borderWidth:10.f borderColor:[UIColor redColor]];
// 方式4 圆角+自定义边框颜色+圆角样式
[imageView fl_imageViewWithCorner:50.f borderWidth:10.f borderColor:[UIColor blueColor] rectCorner:UIRectCornerTopLeft | UIRectCornerBottomRight]

License:

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