andreamazz/AMTagListView — pull request #12 by skunkworks (2014-07-01 19:29:05+00:00)
Title: Tags rearrange themselves on layoutSubviews

HI Andrea,

I was having an issue with AMTagListView in the following case: in my view controller's `viewDidLoad`, I have a list of tags that I want to add, so I add them one by one using the `addTagView` method. On an iPad, the tags show up aligned incorrectly:

![ios simulator screen shot jul 1 2014 12 27 12 pm](https://cloud.githubusercontent.com/assets/563375/3448147/ba4e6a78-0155-11e4-9cf9-d07ed866347e.png)

If I add or remove a tag, they rearrange themselves correctly.

I've proposed a solution where the private method `rearrangeTags` is called during `layoutSubviews`. This resolves this issue.