CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✓ |
Maintained by David Livadaru.
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 Package.swift
.
dependencies: [
.package(url: "https://github.com/davidlivadaru/DLSuggestionsTextField.git", .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:
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.