edvin
01/17/2017, 7:02 PMcarlw
01/17/2017, 7:07 PMedvin
01/17/2017, 7:08 PMcarlw
01/17/2017, 7:08 PMpermalmberg
01/17/2017, 7:10 PMtextfield
, slider
etc). To start with only the basic components are needed, but it is likely that more advanced compositions will be needed later on. The problem is that I don't know what the models will contain so I can't create views or view-models for them before hand - it is the creator of the components (i.e. the boxes I've show in screenshots) that decides what data he or she wants to store and how to display it. My current idea is to use some sort of meta-language to describe the models and based on that dynamically create the view for each model. Has either of you done something like this?carlw
01/17/2017, 7:11 PMpermalmberg
01/17/2017, 7:12 PMpermalmberg
01/17/2017, 7:14 PMcarlw
01/17/2017, 7:16 PMcarlw
01/17/2017, 7:17 PMcarlw
01/17/2017, 7:18 PMpermalmberg
01/17/2017, 7:19 PMpermalmberg
01/17/2017, 7:20 PMcarlw
01/17/2017, 7:23 PMcarlw
01/17/2017, 7:23 PMpermalmberg
01/17/2017, 7:24 PMcarlw
01/17/2017, 7:26 PMpermalmberg
01/17/2017, 7:29 PMcarlw
01/17/2017, 7:31 PMpermalmberg
01/17/2017, 7:32 PMcarlw
01/17/2017, 7:32 PMedvin
01/17/2017, 7:33 PMpermalmberg
01/17/2017, 7:34 PMpermalmberg
01/17/2017, 7:34 PMedvin
01/17/2017, 7:37 PMcarlw
01/17/2017, 7:39 PMpermalmberg
01/17/2017, 7:40 PMclass {
var mqttBroker: String by property("localhost")
var mqttBrokerPort: String by property(1883)
}
edvin
01/17/2017, 7:40 PMedvin
01/17/2017, 7:41 PMpermalmberg
01/17/2017, 7:42 PM