Last active
August 29, 2015 14:07
-
-
Save justinmstuart/1d08dce81d1bc136417e to your computer and use it in GitHub Desktop.
@IBInspectable Example
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 integer: NSInteger = 10 | |
@IBInspectable var float: CGFloat = 10 | |
@IBInspectable var double: Double = 10 | |
@IBInspectable var string: String = "string" | |
@IBInspectable var bool: Bool = true | |
@IBInspectable var point: CGPoint = CGPointMake(1, 0) | |
@IBInspectable var rect: CGRect = CGRectMake(0, 0, 100, 100) | |
@IBInspectable var color: UIColor = UIColor.redColor() | |
@IBInspectable var size: CGSize = CGSizeMake(100, 100) | |
@IBInspectable var image: UIImage = UIImage(named: "ElectricPeelLogo")! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment