andreamazz / AMTagListView

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

Custom tag view #60

Closed ghost closed 8 years ago

ghost commented 8 years ago

Developer should be able to use custom tag view, built from scratch, without subclassing AMTagView. This feature could bring much more flexibility to the library.

andreamazz commented 8 years ago

Hi @igormatyushkin014 That's a good point. The implementation should be pretty easy too, I guess I can just extract the needed func calls in a protocol that the view needs to implement. How does that sound?

ghost commented 8 years ago

@andreamazz Yeah, I like the idea with protocol.

andreamazz commented 8 years ago

@igormatyushkin014 I've pushed some changes in the develop branch. You can now provide a UIView conforming to AMTag. The view must handle its own sizing.

Let me know if that works for you.

andreamazz commented 8 years ago

I'll take the silence as a "it's working". Reopen if something is broken.