UIColor 扩展 SwiftColors

码农软件 · 软件分类 · 其他(Others) · 2019-07-22 20:44:26

软件介绍

SwiftColors 是 HEX 颜色处理工具,作为 UIColor 的扩展,使用 Swift 编写。

示例:

// Most simple way
let colorFromInt: UIColor = 0x3ab976

// With hash
let color: UIColor = UIColor(hexString: "#ff8942")

// Without hash, with alpha
let secondColor: UIColor = UIColor(hexString: "ff8942", alpha: 0.5)

// Short handling
let shortColorWithHex: UIColor = UIColor(hexString: "fff")


本文地址:https://www.codercto.com/soft/d/10719.html

计算理论导论

计算理论导论

塞普斯 / 机械工业出版社 / 2002-8 / 39.0

This book——by a noted authority and educator in the field——presents computer science theory from a uniquely intuitive,“big picture”perspective.The author grounds his clear and interesting study on ......一起来看看 《计算理论导论》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

MD5 加密
MD5 加密

MD5 加密工具

html转js在线工具
html转js在线工具

html转js在线工具