I have a sublass Abszisse of NSView. It works as expected, but I can't set a tag for it, neither programmatically nor in the storyboard where the default value of -1 is grayed out.
class Abszisse: NSView{
override var tag = 0
...
The error is Cannot override with a stored property 'tag'
The docs say to redefine the property as readonly, but I can't find anything how to do that. Might be very simple. In Objective-C that was not a problem.
Is there another possibility than in the answer of apineda in
create a subclass of NSView to enable setTag()