Then i have got a class with a property of the type Unit-Class. This Unit-class contains String, Factor, Offset. I want to set this property with defined objects of the Unit-Class and with variables. Setting the property with a variable causes in attaching the observer to the value of the variable, but not the variable itself.
When I want to attach to the variable, i have to use the reference expression, but I think it is not possible here, because i also want to set objects.
Is it possible to handle both inputs - variables and objects?
Kind regards Jonas