Question: how to pass data from second view controller to first view controller in objective c?
Answer:  set the private variables of the second class initialise the values by calling a custom function and passing the values.  setProperties do it by directlyInitialising it using the setter method.