With Mastodon’s popularity I think it’d be really cool to see someone pull off an all SwiftUI Mastodon client. A timeline with inline media, and a rich media viewer would be the standout things to me.

(This isn’t a snark tweet, I’d really love to see it! Seems like a core app type I haven’t seen yet in SwiftUI.)

@MuseumShuffle @dimillian Ooo! That’s so exciting. Following! I’d be curious how well it handles inline media and transitioning to the media viewer. Hopefully a TestFlight? 😛
@christianselig This is crazy you mention that lol. For now I just show a sheet because I wanted to make something global in my routeur. But I'll revisit it to do something with a ZSTack + shared geometry effect and hopefully it should just works.
@dimillian Wow that looks great! How does tapping on an image look?
@christianselig Like in the video, just open a native sheet with the image full screen. Will later build pinch to zoom etc...
@dimillian ohhh that is an image it’s just a screenshot, doh, thought you were opening a new screen haha
Apple Developer Documentation

@alpennec @christianselig This is genius, I'll try it right away
@alpennec @christianselig It does not seems to actually work with remote URL. It just show me "DATA" even with a URL that have the correct extension.
@dimillian @christianselig yep only local I think. I write my Core Data blob to a temp file stored in the Cache directory and when ready, I present the sheet.
@alpennec @christianselig Just did that, basically downloading attachements if you tap on them and then displaying them using quicklook. Will have proper code up and video soon. This is so good!
@christianselig @MuseumShuffle And about Testflight, it's too early for now, plus I'm doing it for the open source mostly and for myself. Don't know if I'll ever release it proper. But the good thing is that you can clone it and build it yourself :D
@dimillian @christianselig Thomas really appreciate you doing that. Back when I was a beginner and had no idea what I was doing I kept referencing your open source animal crossing app to learn.
@MuseumShuffle One of the reason I'll keep doing it :D
@dimillian @MuseumShuffle Another appreciation post here. I was pretty early to SwiftUI, but found your movies app and it taught me a ton about navigation/structure of more complex apps. Thanks for building out in the open!
@MuseumShuffle @dimillian @christianselig let me jump in and say I too have learned a lot looking at your open source apps as well Thomas. Thank you!