I have 4 view controllers at the start of my app from which I need to capture data and save them into one Core Data entity on the fifth controller. From the fifth controller, I can go to sixth and seventh controllers and again save data into same core data entity from the fifth controller.
I also need to display the data captured on previous run on all the view controllers subsequent run of the application.
What would be the best way to to this?
I was thinking of using a Singleton class but read through a few articles and found out that Singletons should be kept for the last.
Please suggest.
Aucun commentaire:
Enregistrer un commentaire