LPViewBorderMaker 1.0.0

LPViewBorderMaker 1.0.0

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
Released最新版本Jun 2016

litt1e-p 维护。



  • 作者
  • litt1e-p

UIView 扩展,用于制作 UIView 边框

安装

pod 'LPViewBorderMaker', '~> 0.0.2'

用法

//make borders for edges with default border width and color
- (void)makeBorders;

//make border for a edge which can be top/left/bottom/right with custom border width and color 
- (void)makeBordersWithWidth:(float)width color:(UIColor *)color position:(LPBorderPosition)position;

//make borders for some edges with an array, you can custom border width and color too
- (void)makeBordersWithWidth:(float)width color:(UIColor *)color positions:(NSArray *)positions;

截图

版本说明

  • 0.0.2

    修复了视图层错误

  • 0.0.1

    首次提交版本