UIInsetsLabel 是一个具有边缘属性的 UILabel,可以在 Storyboard 中设计边缘。此外,还支持圆角设置。
由于这个问题的存在,https://github.com/MuscleRumble/THLabel/issues/28
在Storyboard中设计需要XCode7.2的支持。
1. Add all files under `UIInsetsLabel` to your project
1, 添加一个UILabel到Sotryboard
2,在identity inspectory中设置UILabel的Class为UIInsetsLabel
UIInsetsLabel 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。