andreamazz / AMTagListView

UIScrollView subclass that allows to add a list of highly customizable tags.
MIT License
758 stars 110 forks source link

allow user to attach client data to tags #48

Closed nsolter closed 6 years ago

nsolter commented 8 years ago

In order to identify the tags in the tapHandler callback, it's sometimes necessary for some meta-information that we don't want to display. It would be nice to be able to attach a black-box object to the tag that can be accessed in the tap handler.