Category methods of NSAttributedString to mask text in the way specified by given string, attributes, masked range and masked attributes.
See more: http://www.colinhwang.com/2016/06/23/text-masked
NSAttributedString分类方法,根据给定字符串、文字属性、遮盖范围及遮盖属性实现文字遮盖效果。