1. 首页
  2. 数据库
  3. 其它
  4. SwiftyAttributes:用于属性字符串的Swifty API 源码

SwiftyAttributes:用于属性字符串的Swifty API 源码

上传者: 2021-02-10 02:40:35上传 ZIP文件 76.4KB 热度 5次
SwiftyAttributes 用于属性字符串的Swifty API。 使用SwiftyAttributes ,您可以像这样创建属性字符串: let fancyString = " Hello World! " . withTextColor (. blue ). withUnderlineStyle (. styleSingle ) 或者,使用Attribute枚举: let fancyString = " Hello World! " . withAttributes ([ . backgroundColor (. magenta ), . strokeColor
下载地址
用户评论