ActiveLabel.swift icon indicating copy to clipboard operation
ActiveLabel.swift copied to clipboard

UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift

Results 28 ActiveLabel.swift issues
Sort by recently updated
recently updated
newest added

lab.configureLinkAttribute = { type, attributes, isSelected in var atts = attributes switch type { case privacyType, agreementType: atts[NSAttributedString.Key.font] = isSelected ? kxFontMedium(12) : kxFont(12) default: break } return atts }...

![Simulator Screen Shot - iPhone 13 mini - 2022-04-14 at 01 16 16](https://user-images.githubusercontent.com/68903203/163259455-9832d8d5-a53e-4331-b342-d54d9bd47fe5.png) if the ![Uploading Simulator Screen Shot - iPhone 13 mini - 2022-04-14 at 01.16.16.png…]() the string has...

My pod version is updated which is 11.0 in pod file , but the ActiveLabel pod repo is not giving me support of email after installing it. @MarvinNazari Please update...

## Summary - Fixed the problem that other string after url are recognized as url - Add a file RegexParserTest.swift ### Screenshot Before | After :--: | :--: |

swiftui will open the entire view by default

## Summary - Like YouTube, i need a timestamp function for video seeking at a specific point in time, so i added it. ### Screenshot Recognized | Info :--: |...

I convert from string html tag to string, when show in label last text 2 -3 character not show, but not convert html tag label show correct data I use...

great project. 🙌 thought it would be a nice feature to support long press detection of a link. with that ability, clients could provide context menus support. this is a...

let customType4 = ActiveType.custom(pattern: "[oa]") label.enabledTypes.append(customType4) label.customColor[customType4] = UIColor.red label.text = "google runoob taobao"

``` func htmlAttributed(size: CGFloat) -> NSAttributedString? { do { let htmlCSSString = "" + "html *" + "{" + "font-size: \(size)pt !important;" + "} \(self)" guard let data = htmlCSSString.data(using:...