🗯️Unleash your inner geek with the Binary Clock Widget, available on the App Store for iPhone and iPad.
🔗 apps.apple.com/us/app/widget…
Custom ArrangmentViewStyle
Building a custom ArrangementViewStyle in SwiftUI with a slot for compact layouts + onGeometryChange for orientation:
View C compact size classes
Stack secondary + primary vertically in portrait
Fall back to .split otherwise
#SwiftUI #iOSDev #iphoneDuo
4
491
Building for foldable and dual-screen iOS devices?
I put together a repository of adaptive #SwiftUI layouts, hinge-aware grids, and ArrangementView experiments for iPhone Duo.
Check out the demos and patterns here 👇 github.com/Codelaby/IphoneDu…
#iOSDev #Swift #MobileDev
4
6
413
Testing ArrangementView(.split) + .splitArrangementLayoutRatio(idealHorizontal: 0.5, idealVertical: 0.4) in SwiftUI.
#SwiftUI #BuildInPublic
2
7
354
Need to adapt your layout when a TabView sidebar is available?
Read @Environment(\.isTabViewSidebarAvailable) inside any child view of your TabView
it automatically tells you whether the sidebar is supported/active in the current context.
7
400
Building Apple Store-style product highlight cards in SwiftUI:
• Region-based color sampling via Core Image (CIAreaAverage)
• Light, medium & dark HSB palettes
• Split layout + WCAG contrast checks
Full code & breakdown in the replies below
Playing around with an idea in #SwiftUI: grabbing the dominant color from an image and generating a palette (light, medium, dark) to adapt the card's design.
5
4
347
















