chika-kasymov / uitextfield_autosuggestion Goto Github PK
View Code? Open in Web Editor NEWCategory for UITextField to add auto suggestion feature. [Tutorial](http://shyngys.com/uitextfield_and_auto_suggestion).
License: MIT License
Category for UITextField to add auto suggestion feature. [Tutorial](http://shyngys.com/uitextfield_and_auto_suggestion).
License: MIT License
I'm currently facing an issue I can't seem to solve.
I have a text field on an interface of which the keyboard would cover the suggestions once the keyboard comes in. In order to prevent that, the ScrollView on which the TextField is placed gets scrolled up by the keyboard's size when the keyboard comes in. Once I type, the suggestions are shown and all is nice and clean. But if I now leave the TextField (e.g. by pressing Return) and enter the text field again, suddenly my suggestions don't scroll up anymore and get displayed where the TextField was, rather than where it is.
I tried to move the TableView of the TextField, as well as the TableViewContainerView, but neither seems to have any effect. Am I overlooking something or is this behaviour simply a bug that's currently not fixed?
Hi,
Is it possible to show nothing when there are no suggestions instead of "No matches" text?
I would like to show suggestions only if there is something to display.
Hello,
Its great library for auto complete.
Well i used it with my custom cell as well as custom layout. now i used below code for height :
func autoSuggestionField(_ field: UITextField!, tableView: UITableView!, heightForRowAt indexPath: IndexPath!, forText text: String!) -> CGFloat {
return 100
}
but it doesn't working. could you please help me out for it.
Thanks
didSelectRowAtIndexPath not working on sometimes...
Hi,
Could you add a property that would allow to control that suggestions are displayed only when user enters a specified number of characters?
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.