I am creating an iOS app that uses core data in almost every VC.
The app has many Navigation Controller and different types of segues.
I want all these viewControllers to be using the same Managed object context. Also, I do not want to keep using prepare to segue to do this as I can use that to pass more relevant info for a particular VC.
Hence, I need help to create a central class or something similar that will help me get the same instance of the managed object context in all my VCs.