In Tangram's current source code you can see that the TGMapView has a mapViewDelegate as a property. Where does this property get a value?
Any help is appreciated. Thank you.
What I've tried
I've used
grep -rnw 'tangram-es/platforms/ios/framework/src/' -e 'mapViewDelegate'
to find all the occurrences of the variable. That comes up with expressions, but not assignments.
I don't think 'mapViewDelegate' is special value that iOS deals with through the storyboard or other "for free" assignments.
My best lead so far is the [self setup];
step in each init of TGMapView. At this step I'm getting lost following the thread.
mapViewDelegate
is set inviewDidLoad
in tangram-es/platforms/ios/demo/src/MapViewController.m