-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一点建议 #5
Comments
我也感觉这个label API做的有点繁琐,我前面一直做的代码结构都是创建NSAttributeString,然后label根据NSAttributeString展示,不让label有过多的操作,专心做好链接点击,和富文本渲染。如果能尽量少的代码侵入就更好了,最好全用系统API。其实系统API对链接这类都已经搞定了,只是UILabel不支持链接点击,不支持gif |
任重而道远,不断优化,争取做到最好!加油 |
我只是个打酱油的,不是作者,也不认识作者,有朋友推荐这个库,就来看看。但是感觉这个库还没到应用到实际项目的标准。我们APP目前用的yylabel,想替换掉,所以参考下 |
这个建议很合理。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
一段富文本例如:文字1文字1文字1[图片]文字2文字2文字2
现在的创建方式是:
addTextCompWithText:文字1文字1文字1
addImgCompWithImageName:[图片]
addTextCompWithText:文字2文字2文字2
如果能整合一句岂不美哉,不然我一段稍微复杂的文本创建过程是很痛苦繁琐的
The text was updated successfully, but these errors were encountered: