shmidt / googleplacessearchcontroller Goto Github PK
View Code? Open in Web Editor NEWGoogle Places autocompleting address search controller
License: MIT License
Google Places autocompleting address search controller
License: MIT License
I keep getting GooglePlaces API Error: REQUEST_DENIED in the debugger why is tat? Which API key should I use?
i need to handle the search closed or dismissed
It looks like the version 0.2.2 is not pushed to CocoaPods. I'm getting error when trying to install version 0.2.2.
My pod file looks like,
pod 'GooglePlacesSearchController', '0.2.2'
My error looks like,
[!] CocoaPods could not find compatible versions for pod "GooglePlacesSearchController":
In Podfile:
GooglePlacesSearchController (= 0.2.2)
None of your spec sources contain a spec satisfying the dependency: `GooglePlacesSearchController (= 0.2.2)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.
I tried doing pod repo update
but no luck.
need to display with post code in search list ?
using regions but not getting post code
lazy var placesSearchController: GooglePlacesSearchController = {
let controller = GooglePlacesSearchController(delegate: self,
apiKey: GoogleMapsAPIServerKey,
placeType: .regions,
)
return controller
}()
thank you
Hey,
In my project, i have to show search bar below to the navigation bar. How can i modify this. Please suggest.
Thanks!!
if the search is in arabic/hebrew the result will still be in English, please add a parameter let us change the result's language
I am getting this error - fatal error: unexpectedly found nil while unwrapping an Optional value.
when I want to search something then getting this error. how to fix it?
The Library is working without any problem, Awesome Library it is. Nice work Done.
I need Powered by Google Logo as the Footer for TableView.
I tried to access any of the property which is related to the tableView in My own ViewController. [Couldn't access any of it].
Then I tried messing up with the code in the File GooglePlacesSearchController.swift
but couldn't see any success.
Though there is a png file in Resources folder, already there "[email protected]" but how to use it like the screenshot you posted in the Readme of the Library .??
Thanks in advance.
Is there a way to only show results from the United States?
If the user is typing quickly, multiple requests are made to the /place/autocomplete
endpoint. As Google charges per request, might be good to debounce or filter the keyboard input so that requests are made as soon as the user stops typing.
Alternatively, looking at the pricing page https://developers.google.com/places/web-service/usage-and-billing, it appears that a session can be used such that the /autocomplete
request is free, and only the /details
request is billed.
As per the Google Calendar app on iOS, if the user types in, say "Bob's House", and there isn't a relevant result, the user can press Done on the keyboard and that text based result will be used.
Update the keyboard return key type and delegate to handle a manual string result.
How can I add a search Filter like this
// Specify a filter.
let filter = GMSAutocompleteFilter()
filter.type = .address
filter.country = "IN"
autocompleteController.autocompleteFilter = filter
in GooglePlacesSearchController Please suggest?
I would like to disable the animation when presenting the search controller
https://www.mediafire.com/?xz757n3fyjd600r
I am using Xcode 7.3.1 and the iPhone 6 simulator
can you return back the zip code or postal code, i need to have one of these values
Thanks for updated fork, can you release latest version and push it to Cocoapods?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.