jinht / Marquee

跑马灯/滚动文字条(类似于淘宝/菜鸟/京东/支付宝/聚划算/网商银行等app的跑马灯功能)
MIT License
435 stars 58 forks source link

可以支持NSAttributedString文字么? #7

Closed FrankCYQ closed 6 years ago

FrankCYQ commented 7 years ago

亲,你这个能支持富媒体文字么,比如在针对特殊文字加背景色?目前静态库看不了实现方式

jinht commented 7 years ago

@FrankCYQ JhtHorizontalMarquee支持attributedText,already update

FrankCYQ commented 7 years ago

感谢您的回答,目前需求是需要垂直方向滚动。

On 5 Jun 2017, at 6:32 PM, JZ notifications@github.com wrote:

@FrankCYQ https://github.com/frankcyq JhtHorizontalMarquee支持attributedText

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jinht/Marquee/issues/7#issuecomment-306156672, or mute the thread https://github.com/notifications/unsubscribe-auth/AE3VnpVUwgh_3vzuqBELTi6BVj32_NYoks5sA9k4gaJpZM4Nv1Se.

jinht commented 7 years ago

@FrankCYQ 都支持啦

FrankCYQ commented 7 years ago

其实这个很简单,就是可以将传入的string 扩展为NSAttributeString就ok了

On 5 Jun 2017, at 6:32 PM, JZ notifications@github.com wrote:

@FrankCYQ https://github.com/frankcyq JhtHorizontalMarquee支持attributedText

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jinht/Marquee/issues/7#issuecomment-306156672, or mute the thread https://github.com/notifications/unsubscribe-auth/AE3VnpVUwgh_3vzuqBELTi6BVj32_NYoks5sA9k4gaJpZM4Nv1Se.