i recently started ios development and am kind of stuck here. I created an tabbed application. Inside the FirstViewController i hold a list of objects, containing coordinates. On the second tab I have a MapView.
I want to show a pin on the map for every coordinate in the list in ViewController 1 but I don't know how
- I can access the Array in the other viewController
- I can get informed when this list grows so the additional pins can be created