mapView Delegate 从哪里获取值?
Where does mapViewDelegate get a value?
在七巧板的当前 source code you can see that the TGMapView has a mapViewDelegate 中作为 属性。这个属性从哪里取值?
感谢任何帮助。谢谢。
我试过的
我用过
grep -rnw 'tangram-es/platforms/ios/framework/src/' -e 'mapViewDelegate'
查找所有出现的变量。这会产生表达式,但不会产生赋值。
我不认为 'mapViewDelegate' 是 iOS 通过故事板或其他 "for free" 作业处理的特殊价值。
到目前为止,我最好的引导是 TGMapView 的每个初始化中的 [self setup];
步骤。在这一步,我迷失了方向。
mapViewDelegate
设置在viewDidLoad
中tangram-es/platforms/ios/demo/src/MapViewController.m
在七巧板的当前 source code you can see that the TGMapView has a mapViewDelegate 中作为 属性。这个属性从哪里取值?
感谢任何帮助。谢谢。
我试过的
我用过
grep -rnw 'tangram-es/platforms/ios/framework/src/' -e 'mapViewDelegate'
查找所有出现的变量。这会产生表达式,但不会产生赋值。
我不认为 'mapViewDelegate' 是 iOS 通过故事板或其他 "for free" 作业处理的特殊价值。
到目前为止,我最好的引导是 TGMapView 的每个初始化中的 [self setup];
步骤。在这一步,我迷失了方向。
mapViewDelegate
设置在viewDidLoad
中tangram-es/platforms/ios/demo/src/MapViewController.m