Latest 0.0.2
Homepage https://github.com/KellenYangs/SYRoundedCorners
License MIT
Platforms ios 6.0, requires ARC
Authors

快速生成圆角快速图片
感兴趣的给个Star吧…

CocoaPods:

pod 'SYRoundedCorners', '~> 0.0.2'

Usage:

导入头文件

#import "UIImage+SYRoundedCorners.h"
[[UIImage imageNamed:@"cat1.jpg"] sy_setCornersRadius:10 size:imgv2.bounds.size completed:^(UIImage *image) {
        imgv.image = image;
    }];

效果图

SYRoundedCorners

iteration:

0.0.2 – 发布第一个版本,后续会研究一下圆角图片缓存…

Other:

使用中有任何问题,请将问题发送给我,谢谢大家帮忙完善!

Latest podspec

{
    "name": "SYRoundedCorners",
    "version": "0.0.2",
    "summary": "Quit generate the rounded corners image.",
    "description": "Quit generate the rounded corners image. Easy...",
    "homepage": "https://github.com/KellenYangs/SYRoundedCorners",
    "license": "MIT",
    "authors": {
        "shenyang": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/KellenYangs/SYRoundedCorners.git",
        "tag": "0.0.2"
    },
    "source_files": "SYRoundedCorners/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This