Print

【Swift】定制NELineLabel

设计辅导Qq:1052602713


项目介绍:

NELineLabel

https://github.com/Marcocanc/NELineLabel

iOS 上的分割线实现 一个UILabel的子类

Using NELineLabel

You can use NELineLabel Programmatically or in IB.
Don't forget to add width constraints/set custom sizing on your Label, since that's where the line is going to be drawn.

你可以使用NELineLabel进行开发或在IB中进行拖拽开发。
不要忘记在Label上添加宽度约束/设置自定义大小,开题报告,因为这是要绘制线的位置。

Customizing NELineLabel

NELineLabel supports IBDesignable and IBInspectable.
You can customize the space between the text and line (lineSpace) and the height of the line (lineHeight).

论文