A tagView for displaying tags, tag with multiple lines supported, using PureLayout
XMLTagView is a subClass of UIview to show tag buttons with mutipule lines, it is just like a tableView and all you have to do is to implement it's delegate method. It will look like this:
I am inspired by SKTagView by @zsk425
and it is based on PureLayout by @smileyborg
Actually I think it is better to do this With UICollectionView, but if there are not so many tags XMLTagView is also a good choice.
add XMLTagView.h and XMLTagView.m to your project
The rest is just like a UITableView and you could see it in the demo
in order to run the demo you need to run "pod install" first
targeting either iOS 6.0 and above, ARC-enabled.
XMLTagView is available under the MIT license. See the LICENSE file for more info.