apploft / ExpandableLabel

A simple UILabel subclass that shows a tappable link if the content doesn't fit the specified number of lines
MIT License
464 stars 126 forks source link

Fix crash when ExpandableLabel.text is set to empty string #21

Closed sammy-SC closed 7 years ago

sammy-SC commented 7 years ago

passing into ExpandableLabel.text an empty string "" will cause a crash.

michaelkamphausen commented 7 years ago

Thanks for the fix 👍