Nantes icon indicating copy to clipboard operation
Nantes copied to clipboard

Swift TTTAttributedLabel replacement

Results 30 Nantes issues
Sort by recently updated
recently updated
newest added

When I set `infoLabel.lineHeightMultiple = 1.3` it still show like `lineHeightMultiple = 1`

**Describe the bug** Text height exactly matches UILabel but when the text contains an emoji the line height is too great. UILabel hugs the top of the emoji exactly. Interestingly...

Proof of concept to force users to tap on the truncation token to trigger the label's tap block

Support for adding NantesLabel class in storyboard as class for UILabel

This is necessary because the `linkTappedBlock` can't be set after a link got created using `addLink(to:URL)` method since the Link DTO is a struct. It may sound pointless because we...

**Describe the bug** Setting `lineBreakMode` to `.byTruncatingHead` or `.byTruncatingMiddle` causes the label to paint incorrectly. It truncates the head and the tail, or the middle and the tail, and it...

bug
Truncation

**Is your feature request related to a problem? Please describe.** It would be nice if we could support rendering an `NSTextAttachment` inside an attributed string, typically used to render icons...

enhancement

When I attempt to set a background fill or stroke, like so: `string.addAttribute(.nantesLabelBackgroundFillColor, value: UIColor.lightGray, range: range)` App crashes with: `Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range` The termination point...