What is the idiomatic way of handling events nowadays in Oxygene? I’m thinking more at at a class library level, rather than OnClick type things.
I would generally use either regular event
events for simple scenarios, or maybe look at the BroadcastManager class in Elements RTL, for a more structures subscriber/piublisher system.
Where do I find that? I’ve already git cloned the RTL2 Library but the only thing related to ‘Broadcast’ I can see in there is some Swift stuff!
No need to. just add a reference to libElements.
That is the one yes; the class happens to be implemented in Swift, but thats an implementation detail.
1 Like