Skip to content

FLTextFieldAutoComplete its custom implementation of UITextField for autocomplete

License

Notifications You must be signed in to change notification settings

felarmir/FLTextFieldAutoComplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLTextFieldAutoComplete

CI Status Badge w/ Version

Requirements

  • iOS 9.0+
  • Xcode 8.2

Installation with CocoaPods

CocoaPods is a dependency manager for Swift and Objective-C projects. You can install it with the following command:

$ gem install cocoapods

Depending on your Deployment Target, specify the following in your Podfile:

Deployment Target: iOS 9.0+

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '9.0'

pod 'FLTextFieldAutoComplete'

After editing your Podfile, run the following command:

$ pod install

Usage

@import FLTextFieldAutoComplete;
...
@property (weak, nonatomic) IBOutlet FLTextFieldAutoComplete* сompleteField;
...

// Array as data
[self.сompleteField setStringsDataArray:<data array>];
	
// or block 
[self.сompleteField setDataByBlock:^NSArray *(NSString *inputValue) {
	// some code and return result
}];

License

FLTextFieldAutoComplete is available under the MIT license. See the LICENSE file for more info.

About

FLTextFieldAutoComplete its custom implementation of UITextField for autocomplete

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published