All Projects → insideApple → VPAutoComplete

insideApple / VPAutoComplete

Licence: MIT license
A simple Auto Complete UITextField also support UITableView written in swift 4.2

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to VPAutoComplete

Autocompletefield
Subclass of UITextField that shows inline suggestions while typing.
Stars: ✭ 656 (+3180%)
Mutual labels:  autocomplete, textfield
react-native-element-textinput
A react-native TextInput, TagsInput and AutoComplete component easy to customize for both iOS and Android.
Stars: ✭ 28 (+40%)
Mutual labels:  autocomplete, textfield
SSCTaglistView
Customizable iOS tag list view, in Swift.
Stars: ✭ 54 (+170%)
Mutual labels:  simple
DropDownTableView
Here is a drop-down TableView.
Stars: ✭ 16 (-20%)
Mutual labels:  uitableview
AutoCompleteTextField
AutoCompleteTextField for OS X
Stars: ✭ 68 (+240%)
Mutual labels:  autocomplete
finddups
Find duplicate files on your computer
Stars: ✭ 22 (+10%)
Mutual labels:  simple
Hacktoberfest-Banned-The-Repo-Guys-Sorry-For-Your-Time-and-effort
A beginner-friendly open source repository to create your first pull request.
Stars: ✭ 27 (+35%)
Mutual labels:  simple
Customizable-Crypto-Currency-Dashboard-with-Chart
📺 A Dashboard with the price movements of the selected Cryptocurrencies 💹
Stars: ✭ 79 (+295%)
Mutual labels:  simple
sora-editor
A cool code editor library on Android with syntax-highlighting and auto-completion. (aka CodeEditor)
Stars: ✭ 580 (+2800%)
Mutual labels:  autocomplete
nstate
A simple but powerful react state management library with low mind burden
Stars: ✭ 11 (-45%)
Mutual labels:  simple
llb
Dead simple event-driven load-balancer
Stars: ✭ 27 (+35%)
Mutual labels:  simple
vscode-allautocomplete
Autocomplete from open files for VSCode
Stars: ✭ 90 (+350%)
Mutual labels:  autocomplete
DLL-INJECTOR
I created a dll injector I am going to Open source its Code. But remember one thing that is any one can use it only for Educational purpose .I again say do not use it to damage anyone's Computer.But one thing if you are using it for some good purpose like to help someone who really need help then I permit you to use it.
Stars: ✭ 14 (-30%)
Mutual labels:  simple
dice-simulator
A Python simple Dice Simulator just for fun
Stars: ✭ 17 (-15%)
Mutual labels:  simple
onion-pi
Configures your Raspberry Pi as portable WiFi-WiFi Tor proxy.
Stars: ✭ 13 (-35%)
Mutual labels:  simple
Simple-Slack-Bot
Simple Python library for creating Slack bots.
Stars: ✭ 26 (+30%)
Mutual labels:  simple
minstyle.io
👌 A simple CSS Framework, including dark mode.
Stars: ✭ 58 (+190%)
Mutual labels:  simple
angular-search-experience
Algolia + Angular = 🔥🔥🔥
Stars: ✭ 166 (+730%)
Mutual labels:  autocomplete
Simple-Game-ERC-721-Token-Template
🔮 Very Simple ERC-721 Smart Contract Template to create your own ERC-721 Tokens on the Ethereum Blockchain, with many customizable Options 🔮
Stars: ✭ 83 (+315%)
Mutual labels:  simple
Mentions
An easy way to add mentions and hashtags
Stars: ✭ 24 (+20%)
Mutual labels:  uitableview

VPAutoComplete

VPAutoComplete is Autocomplete for textField It is written in swift 4 and support UITableView

Demo

Project containing Example for implemented it in ViewController and UITableView. I used IQKeyBoardManager for working with scroll as well

Requirment

Xcode 9 and iOS 11.0 Code is written in swift 4.2

Example

A step by step series of examples that tell you have to get a development env running

For UIViewController

        let dropDown = VPAutoComplete()
        dropDown.dataSource = ["Data 1", "Data 2", "Data 3"]
        dropDown.onTextField = textField // Your TextField
        dropDown.onView = self.view // ViewController's View
        //        dropDownTop.showAlwaysOnTop = true //To show dropdown always on top.
        dropDown.show { (str, index) in
            print("string : \(str) and Index : \(index)")
            self.textField.text = str
        }

Quick Run

         _ = VPAutoComplete.init(onTextField: textField, dataSource: ["Data 1", "Data 2", "Data 3"], onView: self.view, completionHandler: { (str, index) in
         print("string : \(str) and Index : \(index)")
         self.textField.text = str
         })

For UITableView in cellForRowAt

        let dropDown = VPAutoComplete()
        dropDown.dataSource = ["One", "Two", "Three","Foure"]
        dropDown.onTextField = cell.textField // Your TextField 
        dropDown.isSearchBig = false // High Light search Text
        dropDown.show(onTableView: tableView, atIndexPath: indexPath) { (str, index) in
            cell.textField = str
        }
        

Installation

Copy VPAutoComplete-Source folder in Your project and start using

Authors

  • Vivek Padaya

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].