ElaWorkshop / TagListView

Simple and highly customizable iOS tag list view, in Swift.
MIT License
2.64k stars 493 forks source link

Is there a way to add clear all? #163

Closed luai-kalkatawi closed 6 years ago

luai-kalkatawi commented 7 years ago

Is there a way to add clear all selected item as a function?

Thank you.

tarek903 commented 6 years ago

add this in TagListView class

   open func deSelectAll(){

        for tag in self.tagViews {
            tag.isSelected = false
        }

    }
xhacker commented 6 years ago

You can add a category that extends the TagListView class and use @tarek903’s method.