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)
🗯️Unleash your inner geek with the Binary Clock Widget, available on the App Store for iPhone and iPad. 🔗 apps.apple.com/us/app/widget…
1
10
7,368
Replying to @nikewrayy
A quick concept for how an iPhone version of Duo could be developed using native components.
26
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
494
Custom Arragement View Style 👇
2
108
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
3
1
11
1,058
Replying to @park_ppuri
As soon as it moves away from the 180-degree position, the API reports that it is "partially opened."
1
1
29
Comment glow-up in my SwiftUI hinge demo: state holder / hinge change listener / hinge available #SwiftUI #iphoneDuo #iosdev
5
7
487
Replying to @edogalati
Perhaps it would be better to simplify, using a preset of combinations, something like this xitter.cf/Codelaby/status/210774…
I came across those text style combinations by chance. AI failed to detect which ones they were, so I ended up doing it by hand. #SwiftUI #iosdev
1
1
58
A quick concept for how an iPhone version of Duo could be developed using native components.
TikTok has moved its tab bar from the side back to the bottom on iPhone Duo.
1
3
490
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
Adaptive Tab Navigation Define your tabs once and let SwiftUI shift cleanly between a bottom tab bar and a sidebar using .sidebarAdaptable, TabRole.prominent, and sidebar placement modifiers. Adapt the presentation, not the architecture.
1
7
314
Replying to @jcfmunoz
La AI hace Goal Keeper move, si lo considera preciso, todo en verde subimos a produción, luego el usuario usa el software, no funciona como deberia, se pregunta que ha podido pasar pidiendole a la AI, analiza y concluye que los test pasan, al revisar el goal keeper 😱
1
1
163
2️⃣ Light tone behind the asset, medium background with dark or light text (WCAG contrast-checked)
1
76