codelaby retweeted
kept seeing cool liquid photo morphs in video edits and wanted that inside one of my apps (not rendered in something like after effects)
so i made it a swiftui view that allows you to drop in your photos and they just flow into each other
github.com/haplollc/LiquidPh…
Fireworks Card Effect Using SwiftUI
youtu.be/znw9hSkrVXY
NOTES: Inspired by the iOS 27 Birthday Card
codelaby retweeted
here's the repo for anyone who's interested in trying it out for themselves (or making a contribution 😊)
github.com/haplollc/Vesalius
ive been messing around with ways to make Claude Code use fewer tokens (so I stop hitting my limit so early 😅)
one thing I noticed is how many tokens it wastes searching through files just to understand a repo
this weekend I hacked together a tool that gives it a codebase map instead. tested it on 6 repos and it actually decreased token usage quite a bit 🧵
codelaby retweeted
このActually Bookというアプリ
本を読みながら外側のディスプレイに本の表紙を表示してくれる機能がある!!
意味ないけど最高!!
どうやって実現してるんだろうと思ったらカメラを起動してるみたい
そうすれば両面のディスプレイを同時に使えるみたい。
面白いハックだ!
codelaby retweeted
Are you using TabView as root navigation component in your app? Then you need only 2 lines of code to adopt it to iPhone Duo folded and unfolded states. #swiftui
swiftwithmajid.com/2026/10/1…
codelaby retweeted
Apple and SwiftUI friends, I have submitted a radar with video and example repro Xcode project for the occlusion reporting bug in 27.2 RC - FB25275277 🙏
codelaby retweeted
🚨⚠️🚨⚠️ iPhone Duo PRO TIP ⚠️🚨⚠️🚨
ALWAYS wrap your primary and secondary arrangement view in another view (ZStack is easiest) to get the correct size classes and arrangement-related Environment properties in your views
codelaby retweeted
On iPhone Duo, the layout margin on the side adjacent to the Vertical Bar is 0pt, resulting in asymmetric left and right margins.
UIKit’s layoutMarginsGuide handles this automatically, but in SwiftUI, use .contentMargins(for: .container) on iOS 27.1+.
More in the replies...

ALT Side-by-side comparison of SwiftUI layouts on iPhone Duo. ✅ Left: Using .contentMargins(for: .container) automatically adjusts the layout margins, allowing content to extend to the edge adjacent to the Vertical Bar. ❌ Right: Using fixed horizontal padding of 16 or 20 points leaves an unnecessary gap next to the Vertical Bar. Red vertical lines highlight the difference in content alignment.
codelaby retweeted
Replying to @AetherAurelia @Codelaby
codelaby retweeted
このサイトすごい
iPhone Duoの表示エリアとSafeAreaが分かりやすい
safearea.info/
codelaby retweeted
#iPhoneDuo puts a strip of Safari controls down the side of every website, and most pages stop dead against it.
We spent a week making our @framer sites run edge to edge under it. The code, the mistakes and a free skill to do it on yours.
offform.design/designing-web…
Device Hub in Xcode 27.1 has a hidden Action Bar specifically for iPhone Duo.
It gives you a lot more control over the device angle, and you can quickly switch between 5 device poses with keyboard shortcuts. There’s also a “Table Mode” control.
To enable:
defaults write com\.apple.dt.Devices com\.apple.dt.coredevicepop.useInternalV68ActionBar -bool true
and restart Device Hub.
The iPhone Duo simulator also comes with a hidden HingeStatePoster wallpaper.
codelaby retweeted
Xcode 27.2 brings JSON to Xcode project configuration.
The new project.xcproj replaces the pbxproj build graph — not the whole .xcodeproj bundle. What actually improves, what stays the same, and why Apple filed the docs under Coding Intelligence.
fatbobman.com/en/posts/from-…
codelaby retweeted
Fix a crash that occurred when using Xcode code completion on macOS 27.2 beta 1. github.com/pookjw/DisableCod…
codelaby retweeted
i had a lot of people asking how I created the 3d pins for my travel app
and why not share the secret sauce, right? 🤷♂️
here's the step-by-step guide ⬇️
codelaby retweeted
Astra made me a sonar app that emits undetectable audio to scroll up/down on your computer.
It uses the doppler effect to determine where your hand placement is. You can even double tap in the air to change scroll directions!
We want to celebrate with people using GPT-6. We did this for GPT-5.5 and it was really fun.
We’re getting together in SF on September 16 to talk about the model, what we should build next, and mostly just to hang out.
Apply by Sep 10:
gpt6-launch-event.openai.cha…
codelaby retweeted
I think the latest #iPhoneDuo thing is actually highlighting how important design, intent and vision are.
Technically it's very simple. Here is the same effect done on iPhone. Repo:
github.com/elijah-semyonov/D…
#SwiftUI
Took me 2 minutes to prompt and 10 minutes of wall time


























