I have a view controller placeViewController
which pulls in a bunch of Place
objects, and from these loads and populates a matching bunch of PlaceView
objects which are then displayed as subviews to its main view.
I need to update these views periodically which requires information from the model and other places to be pushed into the views
How should I properly structure this?
Keep an array of
Place
objects and give the model aPlaceView
property to store pointers to the viewsKeep an array of
PlaceView
objects and give the view aPlace
property to store pointers to the placesKeep both arrays and use a lot of
indexOfObject
objectAtIndex
to jump between themSome other way??