Hi all,
New to CIQ & native app programming (but not programming, mostly in C++ / Python), and this forum has been really helpful in getting off the ground. I'm new to developing in the App vs. View model, and i'm confused on how they communicate Data between. When my Application initalizes, I load some data into a custom Object i've developed (called a Zone). If I want to use this data to render different data in menus, layouts, etc, how do I make that available to those classes? Do I pass the Zone into the view as an arugment here: function getInitialView() {
return [ new GPS_APPView(), new GPS_APPDelegate() ];
}
becomes:
function getInitialView() {
return [ new GPS_APPView(myZone), new GPS_APPDelegate(myZone) ];
}
Thanks!