An open API service indexing awesome lists of open source software.

https://github.com/noppefoxwolf/dawntext2

A powerful and lightweight Text rendering view instead SwiftUI.Text.
https://github.com/noppefoxwolf/dawntext2

ios swiftui textkit2

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# DAWNText2

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

# Install

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

# Usage

## UIKit

```swift
let textView = DAWNTextView()
textView.attributedText = attributedText
```

## SwiftUI

```swift
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.