andreamazz / AMTagListView

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

Swift 2 / iOS 9 support? #39

Closed 3webbg closed 8 years ago

3webbg commented 9 years ago

Hello, when it is expected to have support for iOS 9 / xcode 7 and Swift 2? Thanks for the great library!

andreamazz commented 9 years ago

Uhm, it should work fine. Did you encounter any issue? Maybe I need to spruce up the demo project, but as a library it should work fine (it's objective-c after all).

matibzurovski commented 9 years ago

Hi, I am not able to set the appearance. If I put the following code: AMTagListView.appearance().radius = 10

I get "Value of type 'AMTagListView' has no member 'radius'." I am able to add tags properly though.

andreamazz commented 9 years ago

radius is a property of AMTagView, not AMTagListView.

matibzurovski commented 9 years ago

Thanks! Other question: how do I get the width of a tag recently added? If I print AMTagView.tagLength it always prints 10, no matter what text does the tag contain.

andreamazz commented 9 years ago

tagLength is the length of the tag's tail, as documented. If you need the full width you can simply use the tag's frame size, since it behaves as a normal UIView.

andreamazz commented 8 years ago

Closing this for now, let me know if you need more info.