@purcelldev (@purcelldev) header
@purcelldev (@purcelldev) profile picture

Tennis coach building SwingCoach 🎾 AI video analysis for tennis coaches. Solo iOS dev, sharing real numbers. Also: 🥷 Shinobi TD · 🧹 Space Swipe · 📐 PolyCalc

Koh Phangan, Thailand 🇹🇭
Joined May 2024
5 ways to open a menu in SwiftUI: a plus that morphs into a panel, a popover fan, stacked cards, gooey Liquid Glass and a ⌘K palette. Which one would you ship? Reply with the number. Real SwiftUI, code in the video. #SwiftUI
2
50
liquid glass weather cards that snap as u swipe, all swiftui. code in the video
25
parallax carousel in swiftui, the photo slides slower than the card. one visualEffect does it
1
117
A lizard that follows your finger, in SwiftUI. Each bone follows the one in front at a fixed distance. The legs use 2-bone IK, and each foot steps when it gets too far behind.
1
1
45
Tap share and 5 buttons fan out in an arc, each one a few milliseconds after the last. The trick is one line: .delay(Double(i) * 0.05). Plus a little cos/sin for the arc. Real SwiftUI, code in the video. #SwiftUI
1
38
What if uploading a file was a free throw? Flick it, it arcs into the hoop, the net wiggles and the count ticks up. The arc is 2 lines of math in a TimelineView. Real SwiftUI, code in the video. #SwiftUI
1
1
57
8 ways to change the screen in SwiftUI: .slide, .opacity, .scale, .move, .push, asymmetric, .blurReplace and matchedGeometryEffect. Pick your favorite. Real SwiftUI, code in the video. #SwiftUI
2
71
tiny solar system in swiftui, tap earth and it flies into a card. code in the video
1
55
One modifier, 8 SF Symbol animations: .bounce, .pulse, .variableColor, .scale, .wiggle, .rotate, .breathe and .replace. Each one is a single line. Real SwiftUI, code in the video. #SwiftUI
3
3
155
$100,000 at 10% a year. After 30 years: $1,744,940. Only $300,000 is plain interest. $1,344,940 is interest earning interest. That's compounding.
1
34
SwiftUI animation curves, one by one: .linear same speed the whole way .easeIn starts slow .easeOut ends slow .easeInOut slow, fast, slow .spring like a spring, no bounce .bouncy overshoots, then settles .snappy quick, tiny bounce
2
4
176
3,000 particles swirl into a heart, in SwiftUI. TimelineView + Canvas, and the classic heart curve: x = 16 sin³t y = 13 cos t − 5 cos 2t − 2 cos 3t − cos 4t
2
1
85
SwiftUI – Text Every way to style a Text, on one real screen: - 11 text styles - 9 weights - 4 designs + 4 widths - bold, italic, underline, strike - color + gradient - wrap vs. lineLimit - Markdown The phone is a real Simulator screenshot, not a mockup. #SwiftUI #iOSDev
3
1
106