I have initialized an delegate object in ViewDidLoad
of my ViewController, but when I am again loading it, it is initializing the value again.
I am saving some some sort of array in that delegate object which I want to access using getObject
and setObject
.
What should I do so that the delegate object doesn't get re-initialized every time ViewDidLoad
is called?