how to fix this problem, after installing xcode 9 show me this
"Property cannot be marked @IBInspectable because its type cannot be representing in Objective-c"
/// The mode of the gradient. The default is `.Linear`.
@IBInspectable open var mode: Mode = .linear {
didSet {
setNeedsDisplay()
}
}
/// The direction of the gradient. Only valid for the `Mode.Linear` mode. The default is `.Vertical`.
@IBInspectable open var direction: Direction = .vertical {
didSet {
setNeedsDisplay()
}
}