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.
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!