[翻译] M13BadgeView

M13BadgeView

M13BadgeView is a customizable badge view for iOS applications. The badge is built to be customizeable in every way possible, If not customization is needed, it defaults to the same style as the iOS 7 badge. It can also align itself to its superview, and animates text changes automatically.

M13BadgeView是一个高度可定制的提醒view。你可以任意的定制他。如果你什么也不设置,它将会是默认的iOS7样式。他也可以根据父视图对齐,或者根据文本自动执行动画。

Border:

Gloss:

Corner Radius:

Shadows:

    • Colors can be customized. 颜色可以被定制
    • Font can be customized. 字体也能够被定制
  • Automatic alignment to the superview. 自动根据父视图对齐
  • Animates text changes 根据文本变化而执行动画

Contact Me:

If you have any questions comments or suggestions, send me a message. If you find a bug, or want to submit a pull request, let me know.

如果你有任何的问题或者建议,给我发信息,如果你发现了bug,或者想改进,让我知道哦,亲。

原文地址:https://www.cnblogs.com/YouXianMing/p/4127462.html