AutocompleteField 可以添加词语自动补全到你的 UITextFields.
示例代码:
import AutocompleteField let textField = AutocompleteField(frame: CGRectMake(10, 10, 200, 40), suggestions: ["Abraham", "George", "Franklin"]) view.addSubview(textField)