Quite some time went by since my last blog post. Now I was able find some time again and tested out the new TextRenderer protocol to create a native SwiftUI highlighted Text view.

Check out my new post where I show how you can implement this: https://alexanderweiss.dev/blog/2024-06-24-using-textrenderer-to-create-highlighted-text

#swift #swiftui #wwdc2024

Using TextRenderer to create highlighted text

[`TextRenderer`](https://developer.apple.com/documentation/swiftui/textrenderer) is a new protocol introduced at WWDC 2024 which lets us enhance how text is rendered in SwiftUI. In this small post, I want to show how to create a view that enables you...