 
      See [Apple docs](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/LocationAwarenessPG/EnablingSearch/EnablingSearch.html).
      */
-    fileprivate func searchMapItems(withQuery query: String) {
+    @objc fileprivate func searchMapItems(withQuery query: String) {
         let request = MKLocalSearchRequest()
         request.naturalLanguageQuery = query
         request.region = self.mapView.region

        guard let text = self.searchController.searchBar.text,
            !text.trimmingCharacters(in: CharacterSet.whitespaces).characters.isEmpty
            else { return }
        // TODO: Debounce.
        self.searchMapItems(withQuery: text)
    }

}

    open fileprivate(set) var searchController: UISearchController!
    open fileprivate(set) var resultsViewController: SearchResultsViewController!
    open var selectedMapItem: MKMapItem?

    var queuedSearchQuery: String?

    override open func viewDidLoad() {
        super.viewDidLoad()
