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
Replying to @SebJVidal
Container Margins is set from: .contentMargins(for: .container) the blue is my custom safeContainerMargins
1
95
Safe Area vs. Container Margins vs. Custom Safe Container Margins in SwiftUI 🔴🟢🔵 #SwiftUI #iponeDuo #iOS #ipadOS #macOS
3
31
1,570
I designed two distinct styles for separate even columns using SwiftUI's geometry and fold detection (.division reserved regions). #SwiftUI #iphoneDuo #UXUI
1
10
1,044
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
954
Views composition:
1
83
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
549
I installed from this
1
52
MD QuickLook: Simple, Easy, Fast Markdown Previews on macOS
1
2
252