If the current view controller conforms to the MGLAnnotationControllerDegelate protocol, both the didSelect and didDeselect methods are required to be implemented. We should mark these methods as optional so the developer can choose to use one of them at a time.
If the current view controller conforms to the
MGLAnnotationControllerDegelate
protocol, both thedidSelect
anddidDeselect
methods are required to be implemented. We should mark these methods as optional so the developer can choose to use one of them at a time.