SJBorderLineView 0.0.3

SJBorderLineView 0.0.3

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

Maintained by changsanjiang.


Downloads

Total134
Week6
Month95

Installs

Apps12
Apps WeekApps This Week 4
Pod Tries1
Test Targets1
powered by Segment

GitHub

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