Latest 0.0.4
Homepage https://github.com/atony2099/FLCorner
License MIT
Platforms ios 7.0, requires ARC
Authors




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

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

CocoaPods:

pod 'FLCorner'

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.

Latest podspec

{
    "name": "FLCorner",
    "version": "0.0.4",
    "summary": "An efficient way of cutting with rounded corners.",
    "homepage": "https://github.com/atony2099/FLCorner",
    "license": "MIT",
    "authors": {
        "atony2099": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/atony2099/FLCorner.git",
        "tag": "0.0.4"
    },
    "source_files": [
        "FLCorner",
        "FLCorner/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This