Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To import this code to new project it shows error. #1

Closed
Saravana181187 opened this issue Feb 13, 2015 · 3 comments
Closed

To import this code to new project it shows error. #1

Saravana181187 opened this issue Feb 13, 2015 · 3 comments

Comments

@Saravana181187
Copy link

gpaViewController.placeDelegate = self

In this line i have error "type viewcontroller does not conform to protocol googleplacesautocompletedelegate".

How to fix it and what is the solution.

@Rogog
Copy link

Rogog commented Feb 14, 2015

You need to do the following:

In your ViewController.swift file change the following:

extension ViewController: GooglePlacesAutocompleteDelegate {
func placeSelected(place: Place) {
println(place.description)
println(place.id)
}

to

extension ENTERCLASSNAMEHERE: GooglePlacesAutocompleteDelegate {
func placeSelected(place: Place) {
println(place.description)
println(place.id)
}

@Saravana181187
Copy link
Author

It is also not Worked for me.

@Saravana181187
Copy link
Author

Suppose can i copy the Xib into Storyboard it will work or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants