Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.06 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.06 KB

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.