how to get array of tags?
furqan1144 opened this issue · 2 comments
furqan1144 commented
Which version of the WSTagsField are you using?
E.g. 1.0.11
On which platform does the issue happen?
E.g. iOS11
Are you using Carthage?
If yes, specify the version (carthage version
)
Are you using Cocoapods?
If yes, specify the version (pod --version
)
Which version of Xcode are you using?
(xcodebuild -version
)
What did you do?
Describe the problem.
Add a short snippet of code to show the problem
What did you expect to happen?
Describe the expected outcome.
What happened instead?
Describe what happened instead.
furqan1144 commented
help..
ricardopereira commented
@furqan1144 Just use tagsField.tags
. If you want strings then do tagsField.tags.map{ $0.text }
.