I started a devblog about mixing SwiftUI and C++ to make a Twitch app
5 comments
·April 22, 2025sirjaz
Love the look of this app. I'd love to see it ported to Windows since swift now supports it.
Swifcheese
thank you! glad to hear you like the UI.
If I were to do Windows, which I'm considering after iOS and tvOS, I think I'd prefer to use C# to keep it truly native. the c++ backend would port right over so it wouldn't be too terrible I don't think.
eutropia
thank you for working on a tvOS version!!!
the official twitch app for apple tv is... not so great.
If you're keen on taking feature requests, here's a difficult one:
- OLED TVs are incredible, but my previous 2017 vintage LG eventually suffered burn-in from long-running streams with static imagery (streamer logo)
- I doubt you have any way to really mess with the actual video content at all, but some form of mitigation for static imagery would be a dream come true for us oled owners.
Swifcheese
for sure! I've had a bunch of people in the community ask for tvOS so I'm excited to be able to make it reality.
The OLED consideration is something I wouldn't have thought about, but that's a really good thing to keep in mind. even if I can't mess with the video itself, it's not an issue to display content over top of it. It really just comes down to what's needed to ensure no issues with burn in.
Thanks for writing this. Suggest elaborating on the reason for using C++ in a Swift App.