News for hackers. Stuff that matters.
Re:Show HN: Make an app by adding JSON to this app by gliechtenstein on Saturday November 05, 2016 @11:37AM (#12880172)
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.
Re:Show HN: Make an app by adding JSON to this app by mitchtbaum on Saturday November 05, 2016 @01:27PM (#12880765)
>> 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 , like here https://github.com/Jasonette/JASONETTE-iOS/blob/develop/app/...

Re:Show HN: Make an app by adding JSON to this app by saganus on Saturday November 05, 2016 @02:57PM (#12881289)
Aha! 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.