Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/namshi/nmfloatlabelsearchfield
A lightweight subclass of UITextField to display floating hint and suggestion list as you type
https://github.com/namshi/nmfloatlabelsearchfield
Last synced: 1 day ago
JSON representation
A lightweight subclass of UITextField to display floating hint and suggestion list as you type
- Host: GitHub
- URL: https://github.com/namshi/nmfloatlabelsearchfield
- Owner: namshi
- License: mit
- Created: 2018-03-11T10:50:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-29T05:08:18.000Z (over 1 year ago)
- Last Synced: 2024-10-13T17:46:02.203Z (25 days ago)
- Language: Swift
- Homepage:
- Size: 4.01 MB
- Stars: 6
- Watchers: 13
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# NMFloatLabelSearchField
A lightweight subclass of `SkyFloatingLabelTextField` to display dynamic floating hints and suggestion list as you type text in the text field.
It's a combination of [`SkyFloatingLabelTextField`](https://github.com/Skyscanner/SkyFloatingLabelTextField) and [`SearchTextField`](https://github.com/apasccon/SearchTextField) pods.### NMFloatLabelSearchField Demo Gif
#### From Example App
![Demo_v1.0.0](https://github.com/namshi/NMFloatLabelSearchField/blob/master/Screenshots/NMFloatLabelSearchField_1.0.0.gif)#### From Namshi App
![Namshi App Ar](https://github.com/namshi/NMFloatLabelSearchField/blob/master/Screenshots/UsageInNamshiAr.gif)
![Namshi App En](https://github.com/namshi/NMFloatLabelSearchField/blob/master/Screenshots/UsageInNamshiEn.gif)## Installation
### Requirements
iOS 9.3 or above### Swift Version
Swift 4 supported from 1.0.0 version.
Swift 4.2 supported from 2.0.0 version.### CocoaPods
The control is available through [CocoaPods](https://cocoapods.org/). `CocoaPods` can be installed using Ruby gems:```
$ gem install cocoapods
```or if you have already cocoapods installed, then update as:
```
$ cocoapods update
```Then simply add `NMFloatLabelSearchField` to your Podfile:
```
use_frameworks!pod 'NMFloatLabelSearchField', '~> 2.0.0'
```Lastly, install the latest version of the library by running:
```
pod install
````https://github.com/namshi/NMFloatLabelSearchField.git`
### Manual
You can download the latest files from our [Releases](https://github.com/namshi/NMFloatLabelSearchField/releases) page. After doing so, copy the Swift file in the Sources folder to your project.### Demo
Check out the Example project.## Copyrights
This library has [SkyFloatingLabelTextField](https://github.com/Skyscanner/SkyFloatingLabelTextField) as a dependency and includes code from [SearchTextField](https://github.com/apasccon/SearchTextField). All the code from these two pods is the copyright of the respective authors. If you like this library, please appreciate these two libraries as well.All right reserved. Namshi Team 2018.