Latest 1.2.1
Homepage https://github.com/yonat/YONAutoComplete
License MIT
Platforms ios 8.0, requires ARC
Authors

YONAutoComplete – Add auto-completion to a UITextField

YONAutoComplete

Simplest auto-complete:
just create a YONAutoComplete object and assign it as the delegate of a UITextField:

YONAutoComplete *autoComplete = [YONAutoComplete new];
textField.delegate = autoComplete;

The user can either choose from the list of completions, or type a new value that will be added to the list automatically.

Customiztion

You can use pre-assembled completions list from a text file:

autoComplete.completionsFileName = @"SomeFileName";

Or set the completions list programmatically:

autoComplete.completions = @[@"First Item", @"Second Item"];

To prevent user-typed values from being added to the completions list:

autoComplete.freezeCompletionsFile = YES;

Limit number of completions shown:

    autoComplete.maxCompletions = 7;

Installation

CocoaPods:

pod 'YONAutoComplete'

Latest podspec

{
    "name": "YONAutoComplete",
    "version": "1.2.1",
    "summary": "Add auto-completion to a UITextField",
    "description": "Simplest auto-complete:  njust create a `YONAutoComplete` object and assign it as the delegate of a `UITextField`:nn```objective-cn    YONAutoComplete *autoComplete = [YONAutoComplete new];n    textField.delegate = autoComplete;n```nnThe user can either choose from the list of completions, or type a new value that will be added to the list automatically.",
    "homepage": "https://github.com/yonat/YONAutoComplete",
    "screenshots": "http://ootips.org/yonat/wp-content/uploads/2014/06/YONAutoComplete.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Yonat Sharon": "[email protected]"
    },
    "social_media_url": "http://twitter.com/yonatsharon",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/yonat/YONAutoComplete.git",
        "tag": "1.2.1"
    },
    "source_files": "*.{h,m}",
    "exclude_files": [
        "YONAutoComplete",
        "YONAutoComplete.xcodeproj"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This