Regular #swift and #swiftui programming will resume after the break, until then: ✨ syndication ✨
Quick SDF-based Pull to Refresh indicator, built with Metal and #SwiftUI
Of course, @marcus_eckert does this stuff a million times better
Custom #SwiftUI #Blurhash View and on-device Image Segmentation – I've since found the private subject segmentation API powering Photos.app etc., might revisit this.
Do you too love deleting apps but find jiggle mode inefficient and slow? Try Katamari Damacy mode instead! (Built completely with #SwiftUI)
I believe the Home app is need of a refresh and I figured I’d throw my hat in the ring. Using #SwiftUI’s TimelineView and a little bit of physics, plugging your lightbulbs into the fire socket has never been as intuitive!
@dlx upon zooming I see that those are outlets, but I first thought they were baby faces
@brandonhorst Yeah, I do not condone plugging a power cable into a baby
@dlx very nice. I would love to know how you did the rope gravity
@dlx the shortcuts app would be much more intuitive if it used this paradigm. Right now I feel that it’s more complicated than writing scripts, where you’re limited only by the code you can write.
@dlx I would pay Very Big Money for this to actually be a thing I can play with, a-la the gravity jailbreak tweak from forever ago https://youtu.be/PNBPfT1jiaw?t=102
You Wish Your iPhone Could Do This.. 30 New Jailbreak Tweaks!

YouTube
@dlx love this and I can already hear the music in my head!
@dlx 🎵na na na na na na nagonna be anymore apps on here🎵
@dlx What tweak is this and what repo is it on?
@dlx This is the future! I would love to be able to do this

@dlx curious to see how different the implementation is from this canvas based concept I made a while back (for the blob part) https://twitter.com/stammy/status/1579525123123843072

https://gist.github.com/stammy/27c4844c0148109fe89f8a0694694c8c

[email protected] on Twitter

“Liquid blob effect using #SwiftUI https://t.co/1EWcHTOtet”

Twitter
@stammy I'll dig it up when I have a moment, but basically the entire thing is a function of pixel position & scroll offset to color
@stammy There's a bunch of signed distance field explanations floating around
@dlx no worries, I’m not too familiar with SDF so was curious if it’s roughly the same technical approach as using the canvas alpha threshold and blur filters
@stammy it's not soo far off but it operates on "vector" graphics so the distance function kinda does the bitmap conversion, blur and threshold in one.
@stammy @dlx do we think the actual implementation of the Dynamic Island took either of these two approaches? Could it just have been Core Graphics paths?
@cdoncarroll @stammy I don't think bezier paths lend themselves well to some of these effects. My hunch is SDFs give you the most control over the outline but I'm not sure. Also haven't seen the Dynamic Island IRL.
@dlx @cdoncarroll not sure if this is the recording itself but looks like this may have some jaggyness at the edges
@stammy @cdoncarroll I’ll check, if anything it’s my incompetence, not the technique