Hacker News new | ask | show | jobs
by pj4533 1775 days ago
Some of the UI looks involved (like the chat UI). Much more complicated than other SwiftUI I have seen so far. I haven’t dug into SwiftUI at my day job, but would love to hear more details about your process. What issues did you run into? Did you use many third party dependencies?
2 comments

I ran into a lot of issues but had to find a workaround thanks to StackOverflow and UIViewRepresentable. For instance I ran into issues with highlighting Phone numbers & link when displaying a text but I used this solution here https://stackoverflow.com/questions/63258385/using-url-to-di...

etc

I worked on a chatbot interface using SwiftUI for my previous job, I can semi-recommend this as a starting point: https://github.com/EnesKaraosman/SwiftyChat

There were several issues that arose from underlying changes made in SwiftUI between iOS 13 and 14.

You can always use UIViewRepresentable as an "escape hatch", but it invariably adds some complexity.

Yes sure. Thanks