This one wasn’t too difficult. Just add @IBDesignable to the DieView.Swift class.
@IBDesignable class DieView: NSView {
var intValue: Int? = 3 {
didSet {
needsDisplay = true
}
}
…
Cheers
Wayne
This one wasn’t too difficult. Just add @IBDesignable to the DieView.Swift class.
@IBDesignable class DieView: NSView {
var intValue: Int? = 3 {
didSet {
needsDisplay = true
}
}
…
Cheers
Wayne