Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 547 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 547 Bytes

UIColor+Hex, now Swift.

Convenience method for creating autoreleased color using RGBA hex string.

var strokeColor = UIColor(rgba: "#ffcc00").CGColor // Solid color

var fillColor = UIColor(rgba: "#ffcc00dd").CGColor // Color with alpha

See more in RSBarcodes_Swift and objc version