{"id":26281070,"url":"https://github.com/yonat/yonautocomplete","last_synced_at":"2025-05-07T05:10:43.139Z","repository":{"id":18148222,"uuid":"21241898","full_name":"yonat/YONAutoComplete","owner":"yonat","description":"Add auto-completion to a UITextField","archived":false,"fork":false,"pushed_at":"2024-04-29T17:37:39.000Z","size":40,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T20:42:05.627Z","etag":null,"topics":["autocomplete","uitextfield"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yonat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["yonat"]}},"created_at":"2014-06-26T13:39:24.000Z","updated_at":"2024-04-29T17:37:41.000Z","dependencies_parsed_at":"2024-04-06T06:40:28.514Z","dependency_job_id":null,"html_url":"https://github.com/yonat/YONAutoComplete","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"1e655f8ec208d9ba394952d756edea476e7eaac7"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FYONAutoComplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FYONAutoComplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FYONAutoComplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FYONAutoComplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonat","download_url":"https://codeload.github.com/yonat/YONAutoComplete/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252817634,"owners_count":21808706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete","uitextfield"],"created_at":"2025-03-14T15:19:02.782Z","updated_at":"2025-05-07T05:10:43.117Z","avatar_url":"https://github.com/yonat.png","language":"Objective-C","funding_links":["https://github.com/sponsors/yonat"],"categories":[],"sub_categories":[],"readme":"## YONAutoComplete - Add auto-completion to a UITextField\n\n\u003cimg src=\"http://ootips.org/yonat/wp-content/uploads/2014/06/YONAutoComplete.png\"\u003e\n\nSimplest auto-complete:  \njust create a `YONAutoComplete` object and assign it as the delegate of a `UITextField`:\n\n```objective-c\nYONAutoComplete *autoComplete = [YONAutoComplete new];\ntextField.delegate = autoComplete;\n```\n\nThe user can either choose from the list of completions, or type a new value that will be added to the list automatically.\n\nIf you need to have your own delegate for the text field, set it on the `YONAutoComplete` instance:\n\n```objective-c\nautoComplete.textFieldDelegate = myTextFieldDelegate;\n```\n\n### Customization\n\nYou can use pre-assembled completions list from a text file:\n\n```objective-c\nautoComplete.completionsFileName = @\"SomeFileName\";\n```\n\nOr set the completions list programmatically:\n\n```objective-c\nautoComplete.completions = @[@\"First Item\", @\"Second Item\"];\n```\n\nTo prevent user-typed values from being added to the completions list:\n\n```objective-c\nautoComplete.freezeCompletionsFile = YES;\n```\n\nLimit number of completions shown:\n```objective-c\n    autoComplete.maxCompletions = 7;\n```\n\n\n## Installation\n\n### CocoaPods:\n\n```ruby\npod 'YONAutoComplete'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonat%2Fyonautocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonat%2Fyonautocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonat%2Fyonautocomplete/lists"}