zacwest / ZSWTappableLabel

UILabel subclass for links which are tappable, long-pressable, 3D Touchable, and VoiceOverable.
MIT License
169 stars 37 forks source link

Add URL key for Swift 4 #29

Closed brightsider closed 5 years ago

zacwest commented 7 years ago

Is the goal for this change to add the key for convenience? For example, in your code you'd like a new attribute to encapsulate some data when using the label?

brightsider commented 7 years ago

Why not to add URL? URL is often used. In the swift example, a standard URL attribute is used. Therefore a underline is added, which is not immediately clear how to remove it.