Open VigneshVV opened 4 years ago
The same question for me, do you have found a solution?
Honestly , there is no option.
On Sat, 11 Apr 2020 at 9:55 PM, Mattia Confalonieri < notifications@github.com> wrote:
The same question for me, do you have found a solution?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ElaWorkshop/TagListView/issues/253#issuecomment-612457571, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFBEVJ5WERZJNICZYGD6M3RMCKWDANCNFSM4MC3UMAA .
-- Vignesh
you can get index in delegate method like following.
func tagPressed(_ title: String, tagView: TagView, sender: TagListView) {
if let index = sender.tagViews.index(of: tagView) {
print(index)
}
}
its work for me.
How to get selected tag index?