A powerful and lightweight Text rendering view instead SwiftUI.Text.
let package = Package(
dependencies: [
.package(url: "<# URL #>", from: "0.0.x")
],
)let textView = DAWNTextView()
textView.attributedText = attributedTextDAWNText2.TextView(attributedText)- a12y
- UITraitCollection
- UIColor.tintColor
- NSTextAttachmentViewProvider
| DAWNTextView | UITextView | UILabel | SwiftUI.Text | |
|---|---|---|---|---|
| View Provider | ⭕️ | ⭕️ | ❌ | ❌ |
| Self-sizing | ⭕️ | ❌ | ⭕️ | ⭕️ |
| link only selectable | ⭕️ | ❌ | ⭕️ | ⭕️ |
- TBD
- Swift 5.10
- iOS 17.0+
DAWNText2 is available under the MIT license. See the LICENSE file for more info.