I have an @IBDesignable
class with the following property:
@IBInspectable var isSelected = false {
didSet{
self.delegate?.toggleViewToggled(selected: isSelected, object: self)
self.setNeedsDisplay()
}
}
But in Interface Builder, there's not the usual dropdown menu to let me edit the property. What's wrong with the code?