codelaby (@Codelaby) header
codelaby (@Codelaby) profile picture

Welcome to my coding journey! I share SwiftUI programming tips to help others learn and grow. Explore tutorials, code snippets, and more on my blog and Patreon.

Barcelona, España
Joined November 2009
Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)Photo by codelaby (@Codelaby)
codelaby retweeted
just shipped: an easy tool for posting your top 10 of 2026 pick your top albums, songs, movies, books or tv shows taylor.fyi/top
260
2,959
1,924
20,916
3,246,007
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…
6
4
1
19
794
codelaby retweeted
Fireworks Card Effect Using SwiftUI youtu.be/znw9hSkrVXY NOTES: Inspired by the iOS 27 Birthday Card
2
5
91
4,849
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 🧵
1
2
7
450
このActually Bookというアプリ 本を読みながら外側のディスプレイに本の表紙を表示してくれる機能がある!! 意味ないけど最高!! どうやって実現してるんだろうと思ったらカメラを起動してるみたい そうすれば両面のディスプレイを同時に使えるみたい。 面白いハックだ!
8
26
3
282
26,016
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…
5
3
24
2,354
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 🙏
1
3
2
19
5,281
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
4
3
1
92
5,937
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...
5
18
4
304
20,802
codelaby retweeted
iPhone Duo hinge API: onHingeChange • Real-time hinge angle • Simple status mapping (.closed, .partiallyOpen, .fullyOpen) #SwiftUI #iOSDev #Swift #iphoneDuo
1
4
563
このサイトすごい iPhone Duoの表示エリアとSafeAreaが分かりやすい safearea.info/
7
217
18
2,538
312,072
#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…
4
1
9
818
codelaby retweeted
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.
7
30
4
420
39,466
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-…
1
8
2
16
5,373
codelaby retweeted
Fix a crash that occurred when using Xcode code completion on macOS 27.2 beta 1. github.com/pookjw/DisableCod…
Xcode 27.2 beta 1 crashes when I type anything into the editor. Is this a sign that the era of writing code by hand is finally over?
1
1
1
6
1,646
codelaby retweeted
iPhone DUO will make all apps support landscape. Apple already did it for their apps.
iOS 27で横向き表示に対応した純正アプリ
5
3
29
6,072
codelaby retweeted
Notes Duo
绝了! iPhone Duo的设计灵感吗?
1
14
5,540
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 ⬇️
38
54
6
985
69,387
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…
228
544
174
9,066
1,159,143