Good morning,
Please forgive me if these questions are well below the basic level of understanding programming in Monkey C, but I cannot find answers here, and there are very few monkey C tutorials around aimed at this level of questioning. If you can help..... please... please write something. You could be helping more than just me.
function getInitialView() {
var mainView = new KiteJumpView();
var viewDelegate = new KiteJumpDelegate( mainView );
return [mainView, viewDelegate];
}
Why in this example is the mainView inside the brackets of the Delegate, and what is that causing to happen.
If I have a function that has something listed as inside the brackets..... something like the GPS objust update, can someone descrive here what is happening. Why is info not a variable or need to be declared? Is it just a name to use to call the object that gets sent to this function?
function Gpsupdate(info) {
gpsV = info;
}