I also fixed how the default UIAppearance values were being loaded. That fixes the problem in which I'd have tagLength = 0 but the following code would override it to the default:
Since I had set [[AMTagView appearance] tagLength] to 0 somewhere in my own code, the ternary if would load the value of kDefaultTagLength when adding a new tag.
Thanks for your contribution. I had to fix the alignment of the label when the tag is present, so you might want to checkout the latest version.
Cheers :beers:
I also fixed how the default UIAppearance values were being loaded. That fixes the problem in which I'd have
tagLength = 0
but the following code would override it to the default:Since I had set
[[AMTagView appearance] tagLength]
to0
somewhere in my own code, the ternary if would load the value ofkDefaultTagLength
when adding a new tag.