SJBorderLineView 0.0.6

SJBorderLineView 0.0.6

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

Maintained by changsanjiang.


Downloads

Total644
Week0
Month161

Installs

Apps41
Pod Tries1
Test Targets1
powered by Segment

GitHub

Stars3
Watchers0
Forks0
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 116


  • 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];