I have 2 viewControllers. One of them is for the game screen and it has lots of different variables like labels,buttons,images. The other one is for the pause menu. When i pause the game and tap the resume button, it calls the viewDidLoad of the first viewController naturally.
I want to save the last state of the game when user tap the pause button. Or i want to see the last state of the game when user tap the resume button. I don't want to use nsuserdefault for this,if there is a different solution. Hope i can explain my problem.
Best Regards, Taha