instacart / Nantes

Swift TTTAttributedLabel replacement
Apache License 2.0
1.11k stars 87 forks source link

SwiftUI support #62

Open AndrewSB opened 4 years ago

AndrewSB commented 4 years ago

Text in SwiftUI doesn't support showing links, I think it would be really useful to be able to use Nantes in SwiftUI. I'm going to wrap it in UIViewRepresentable for myself, I might add a pull request with minimal customization.

damirstuhec commented 3 years ago

@AndrewSB have you gotten around implementing the above? I'm in the same shoes. 😊

AndrewSB commented 3 years ago

let me see if I did this

AndrewSB commented 3 years ago

unfortunately not. I ended up using an

HStack {
  Text()
  Button()
  Text()
}