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.
I designed two distinct styles for separate even columns using SwiftUI's geometry and fold detection (.division reserved regions).
#SwiftUI#iphoneDuo#UXUI
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)
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
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
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