TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2017 |
Maintained by changsanjiang.
视图 或上或下或左或右 绘制一条线
pod 'SJBorderLineView'
SJBorderlineView *lineView = [SJBorderlineView borderlineViewWithSide:SJBorderlineSideTop | SJBorderlineSideLeading | SJBorderlineSideBottom | SJBorderlineSideTrailing startMargin:10 endMargin:10 lineColor:[UIColor redColor] lineWidth:5];
lineView.frame = CGRectMake(20, 100, 200, 35);
lineView.backgroundColor = [UIColor grayColor];
[self.view addSubview:lineView];