SJBorderLineView 0.0.3

SJBorderLineView 0.0.3

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

Maintained by changsanjiang.


Downloads

Total14
Week14
Month14

Installs

Apps4
Apps WeekApps This Week 4
powered by Segment

GitHub

Stars2
Watchers0
Forks0
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 92


  • By
  • SanJiang

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