3 ms·
Almost correct. To be precise, it doesn't have the objects in memory, it instantiates all the native components on demand based on the JSON recipe. And all of t
by gliechtenstein 10y ago
Almost correct. To be precise, it doesn't have the objects in memory, it instantiates all the native components on demand based on the JSON recipe. And all of them of course go away once you close that view.
- mitchtbaum 10y ago>> how it works > it instantiates .. components on demand In general, to wrap your information engine around how information engines wrap around components, check out this marvelous design pattern: https://en.wikipedia.org/wiki/Visitor_pattern https://en.wikipedia.org/wiki/Visitor_pattern , like here https://github.com/Jasonette/JASONETTE-iOS/blob/develop/app/Jasonette/JasonComponentFactory.m#L54 https://github.com/Jasonette/JASONETTE-iOS/blob/develop/app/...
- saganus 10y agoAha! thanks to both of you for the answer. I've read about the Visitor pattern before, but did not link it to an engine like this.