WSTagsField v3.1.0 Release Notes
Release Date: 2018-04-09 // almost 6 years ago-
🔄 Changes
- By default, the return key is used to create a tag in the field. Now, you can change it and use the comma or the space key instead:
tagsField.acceptTagOption = .space
. onDidEndEditing
andonDidBeginEditing
events were removed in favor ofUITextFieldDelegate
methods (textFieldDidBeginEditing(textField:)
andtextFieldDidEndEditing(textField:)
). The delegate should be assigned to thetextDelegate
property and it's related with the input text field. It's also a nice way to have access totextFieldShouldReturn(textField:)
where it's possible to change the first responder when thereturn
key is free (i.e.:tagsField.acceptTagOption = .comma
is set).
- By default, the return key is used to create a tag in the field. Now, you can change it and use the comma or the space key instead: