Latest 2.0.0
License MIT
Platforms ios 9.0
Frameworks UIKit

Why another framework for suggestions / autocomplete?

Even if there are some frameworks which provide this facility, each of them have various flaws or limitations. The purpose of this framework is to provide its client full control.


Version: 1.0.0

Support for Swift 3.

Version 2.0.0

Support for Swift 4.
API has been simplified and now provides more customization.



Add the the following dependecy in your Cartfile.

github "davidlivadaru/DLSuggestionsTextField" ~> 2.0


Add the the following dependecy in your Podfile.

pod 'DLSuggestionsTextField', '~> 2.0'

Swift Package Manager

Add the the following dependecy in your Package.swift.

dependencies: [
    .package(url: "", .upToNextMinor(from: "2.0.0"))


Import the framework, configure the textField and set the suggestionLabel and suggestionsContentView.

import DLSuggestionsTextField


  @IBOutlet weak var suggestionsTextField: TextField!
  private let suggestionsTableView = TableView()
  private let suggestionsLabel = UILabel()


  func viewDidload() {
    suggestionsTextField.suggestionLabel = suggestionsLabel
    suggestionsTextField.suggestionsContentView = suggestionsTableView

The framework client has to:

  • provide a suggestions content view – here sugestions should be placed;
  • (optional) provide a suggestion text view – here proposed selection is placed;
  • handle the filtering based on data from textField;
  • manage the content and text views.


If you did find a bug create an issue.

If you fixed a bug or an issue or added new functionality to the framework create a pull request.


The project is released under MIT license. For further details read LICENSE file.

Latest podspec

    "name": "DLSuggestionsTextField",
    "version": "2.0.0",
    "summary": "DLSuggestionsTextField helps you create beautiful dynamic suggestions as user provides input in a text field.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": "David Livadaru",
    "platforms": {
        "ios": "9.0"
    "source": {
        "git": "",
        "tag": "2.0.0"
    "source_files": [
    "frameworks": "UIKit",
    "pushed_with_swift_version": "4.0"

Pin It on Pinterest

Share This