Skip to content

A powerful and lightweight Text rendering view instead SwiftUI.Text.

Notifications You must be signed in to change notification settings

noppefoxwolf/DAWNText2

Repository files navigation

DAWNText2

A powerful and lightweight Text rendering view instead SwiftUI.Text.

Install

let package = Package(
    dependencies: [
        .package(url: "<# URL #>", from: "0.0.x")
    ],
)

Usage

UIKit

let textView = DAWNTextView()
textView.attributedText = attributedText

SwiftUI

DAWNText2.TextView(attributedText)

Features

  • a12y
  • UITraitCollection
  • UIColor.tintColor
  • NSTextAttachmentViewProvider
DAWNTextView UITextView UILabel SwiftUI.Text
View Provider ⭕️ ⭕️
Self-sizing ⭕️ ⭕️ ⭕️
link only selectable ⭕️ ⭕️ ⭕️

TODO

  • TBD

Required

  • Swift 5.10
  • iOS 17.0+

Apps Using

License

DAWNText2 is available under the MIT license. See the LICENSE file for more info.

About

A powerful and lightweight Text rendering view instead SwiftUI.Text.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages