Cannot assign value of type 'HomePageViewController' to type 'GMSAutocompleteViewControllerDelegate?'

^^ is my error message when I write this code:

autocompleteController.delegate = self

The logical fix for me would be to update my class as following:

class SearchResultsController: UITableViewController, UISearchBarDelegate, UISearchResultsUpdating, GMSAutocompleteViewControllerDelegate

But then I get an error message saying "Type 'SearchResultsController' does not conform to protocol 'GMSAutocompleteViewControllerDelegate.'"


What am I missing?

Does SearchResultsController implement the required methods of GMSAutocompleteViewControllerDelegate (docs here: developers.google.com/places/ios-api/reference/protocol_g_m_s_autocomplete_view_controller_delegate-p)?

Cannot assign value of type 'HomePageViewController' to type 'GMSAutocompleteViewControllerDelegate?'
 
 
Q