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
I designed two distinct styles for separate even columns using SwiftUI's geometry and fold detection (.division reserved regions). #SwiftUI #iphoneDuo #UXUI
1
9
1,024
Ever notice how iOS (iPhone & iPad) sets default container margins to 0, while devices like the iPhone Duo have non-equal margins .safeContainerMargins(.horizontal, 16, for: .scrollContent)
2
8
949
Views composition:
1
82
Building adaptive music layouts with ArrangementView One screen, two arrangements: • Portrait → overlay (lyrics behind player) • Landscape on wide → split (player + lyrics side by side) #iphoneDuo #iosDev #SwiftUI
5
10
543
I installed from this
1
52
MD QuickLook: Simple, Easy, Fast Markdown Previews on macOS
1
2
252
Hello ArregementView #iphoneDuo #iOSDev
1
1
2
400
Just refactorized EvenColumnsDemo in SwiftUI! 🚀 Cleaned up the layout metrics, integrated geometry observation, and fine-tuned column adaptation with dynamic fold spacing and corner inset margins for flexible form factors. #swiftUI #iosdev #iphoneDuo
2
5
505
Testing a hybrid design to see how it looks in full-screen mode on the iPhoneDuo. #iosdev #buildinpublic #swiftui
3
426
iphoneDuo all orientations:
97
My brain is fried from trying to implement support for customizing toolbars: ipad, mac, iphone and iphoneDuo. #BuildInPublic #iosdev
3
7
607
Recreated natpanferova 's hinge interaction concept with a lotus flower blooming effect 🪷 Built a safe hingeDetector wrapper around onHingeChange to support device fold angles while keeping standard tap & auto-bloom fallbacks for pre-iOS 27.1 devices. #SwiftUI #iOSDev
2
6
612
Iteration after iteration, it’s all starting to come together. #swiftui #UXUI #buildinpublic #iosdev #iPhoneDuo
Inspired by timeline twitter
5
19
1,951
Inspired by timeline twitter
1
2
2,239
I am working on another composition, built using a custom Arrangement View style.
1
7
1,110
Replying to @alpennec
I prefer onboarding using a ScrollView and a custom control.
130