SJBorderLineView 0.0.6

SJBorderLineView 0.0.6

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2017

Maintained by changsanjiang.



  • By
  • SanJiang

SJBorderLineView

视图 或上或下或左或右 绘制一条线
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];