Ios swift – How do I pass data to another ViewController without presenting said ViewController?
I am building an app that fetches pictures from a nasa API and then shows it a CollectionView as well as in a UITableView. My app is driven by a UITabBarController which has an array of three view controllers. HomeViewController(():…