Hi and thanks for reading. 
I want to automate this part of my code:
Whenever a view loads, I will need to click a button (IBAction for Loading Data From NSUserDefaults) inorder for all saved data to be displayed.
However, I wish for this to happen without me clicking and all will appear automatically once view appears.
I reckon it will be good to use ViewDidLoad or ViewWillAppear (By putting an IBAction command in it). I am not entirely sure how to implement this.
Anybody can help me?
I want to automate this part of my code:
Whenever a view loads, I will need to click a button (IBAction for Loading Data From NSUserDefaults) inorder for all saved data to be displayed.
However, I wish for this to happen without me clicking and all will appear automatically once view appears.
I reckon it will be good to use ViewDidLoad or ViewWillAppear (By putting an IBAction command in it). I am not entirely sure how to implement this.
Anybody can help me?
Last edited: