LinkLabel icon indicating copy to clipboard operation
LinkLabel copied to clipboard

Bug fixes, improved link handling and Swift 5 support

Open levi opened this issue 5 years ago • 0 comments

  • Added support for both URL and string links, as the mutable string API supports both and it's handy to have links that point to an identifier, rather than a valid URL.
  • Fixed a bug where using new line breaks would sometimes not allow a link to be tappable (text container was not being sized correctly, which invisibly cut off the text from the character at point query).
  • Expanded the default initializer to allow for custom default attributes. Allows for making subclasses that provided default values for larger projects.

Includes Swift 4 and 5 support added by @numen31337 and @fespinoza.

levi avatar Feb 10 '20 00:02 levi