/LinkifyLabel

A swift package to add link inside UILabel

Primary LanguageSwiftOtherNOASSERTION

LinkifyLabel

           

A Label that supports creating link in it.

Installation

Swift Package Manager (SPM)

To install this Swift Package follow these steps:

  1. From Xcode, select "File" -> "Add Package Dependencies..."
  2. From top right corner, Enter https://github.com/mhasan341/LinkifyLabel in the searchbox
  3. Dependency rule branch and select main as branch
  4. Click Copy Dependencies button
  • or you can follow the guide here

Manual

  1. Download this repository
  2. Copy all files inside Sources folder to your project

Requirements

Usage

Sample

Example Project

Contribution

I do have plans to add more options to this repo, however feel free to open issues to give new ideas and create PR with your idea as well.

Credits

The original code was created by Toomas Vahter and I made some updates to the source and also Made it available for SPM. He is the Alpha. A Blog he wrote contains more details and examples.

License

You can find the license here