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

I'm attempting to add padding to the label to present the run off as shown below. Here's how I'm calling the view within SwiftUI ``` SUILabel(text: tweet.text, preferredMaxLayoutWidth : UIScreen.main.bounds.width...

In our app we are showing full name as mention for example @FirstName LastName , when we showing its only detecting first name not full name. can we achieve full...

In mentioned username, it is not detecting full username with the dot. For example, username like **@hb.mehulmodi** is only detecting **hb**

``` private func setupPolicyTermOfUse() { let termOfUseType = ActiveType.custom(pattern: "\\sTerms of use\\b") let policyType = ActiveType.custom(pattern: "\\sPrivacy policy\\b") policyAndTermOfUseLb.enabledTypes = [termOfUseType, policyType] policyAndTermOfUseLb.isUserInteractionEnabled = true policyAndTermOfUseLb.customize { [weak self] label...

Just added the hyphen character to the hashtagPattern regex in RegexParser so that it recognizes #hash-tags #with-hyphens :)

I have customized label to have bold font for url links It works for the first time, but after the link is clicked, the font attribute just invalidates for link...it...

I'm interested in making the Mention, Hashtag, and URL elements accessible. We need this for our automated test suite, which relies on accessibility labels. But it's also just a good...

Set the label as accessible by default. - When the voice over is active and there is more than one ActiveTypes, by default label selects the first activetype as accessible....