whitesmith / WSTagsField

An iOS text field that represents tags, hashtags, tokens in general.
MIT License
1.28k stars 226 forks source link

how to set the tags programmatically in wstagsfield #35

Closed mohammadshalhoob closed 7 years ago

mohammadshalhoob commented 7 years ago

how to set the tags programmatically in wstagsfield ( not the user input) .

thanks for help .

ricardopereira commented 7 years ago

@mohammadshalhoob Just use the addTags method like tagsField.addTags(["Whitesmith", "iOS", "iOS", "UIKit"]).

mohammadshalhoob commented 7 years ago

thanks ricardopereira .