Oneeb
Oneeb

Reputation: 75

AutoComplete Google Places in a Textfield in IOS

I have a UITextField and a UITableView under the UITextField.

When user enter anyplace it show the relevant places to the data which user right should be shown in the table view. For this I have search a lot to the third party lib's and follow step by step procedure of google but failed to get the results.

Now again I have tried the Google Developers procedure but not results so far, I have got API key in my AppDelegate.m file and done some coding in my view controller where I want to show.

I'm just messed up how to get my result, can anyone help me?

I'm getting this issue I don't know why because I have only used Objective-c code in my project from Google Developers.

the issue is this:

"Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly"

Upvotes: 0

Views: 519

Answers (1)

Himanth
Himanth

Reputation: 2446

Maybe one of the Frameworks you are using was Swift. So check each and every Framework you have dragged to your project.

If you are using CoreData you need to change Code Generation to Objective-C too if it was selected as Swift.

Find out more Here

Upvotes: 1

Related Questions