Created
June 5, 2017 12:50
-
-
Save simonwuyts/a21142163e5acf94348d5b0c89f8c490 to your computer and use it in GitHub Desktop.
The Inspectables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IBInspectable var arrowTopLeft: Bool = false | |
@IBInspectable var arrowTopCenter: Bool = true | |
@IBInspectable var arrowTopRight: Bool = false | |
@IBInspectable var arrowBottomLeft: Bool = false | |
@IBInspectable var arrowBottomCenter: Bool = false | |
@IBInspectable var arrowBottomRight: Bool = false | |
@IBInspectable var fillColor: UIColor = UIColor.white | |
@IBInspectable var borderColor: UIColor = UIColor(red:0, green:0, blue:0, alpha:0.05) | |
@IBInspectable var borderRadius: CGFloat = 18 | |
@IBInspectable var borderWidth: CGFloat = 1 | |
@IBInspectable var shadowColor: UIColor = UIColor(red:0, green:0, blue:0, alpha:0.14) | |
@IBInspectable var shadowOffsetX: CGFloat = 0 | |
@IBInspectable var shadowOffsetY: CGFloat = 2 | |
@IBInspectable var shadowBlur: CGFloat = 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment