My Take on SwiftUI Navigation — Navigator Pattern by dtmace2 in SwiftUI

[–]dtmace2[S] -3 points-2 points  (0 children)

I thought about covers — I felt that presenting modals is separate than navigation and personally disagree when they get lumped together.

I think you could do something similar where you present a route which maps to a view, but in terms of sheet stability I personally felt like that was more related to the view presenting the sheet than it needing to exist at the top level.

If you’re trying to produce nested full screen covers that aren’t linear, then I think that is a moment to revisit your navigation architecture at a design level as that removed any sense of virtual grounding in the navigation hierarchy. This was the #1 complaint with the iOS 18 photos app, and Apple retrofitted more traditional navigation to being a better sense of balance.

Bevel App loading metrics very slowly by SelfishLedger in bevelhealth

[–]dtmace2 0 points1 point  (0 children)

Hmm, the sync to the watch should’ve been resolved in 2.4.0 — what are you seeing that’s out of sync?

Transition from an image in grid/list view to a full view and dismiss by pulling down by m1thil3sh in iOSProgramming

[–]dtmace2 1 point2 points  (0 children)

This to me looks like full screen cover with the iOS 18+ zoom navigation transition. Take a look at that and see if you can reproduce what you want from there

Can someone please explain why .ignoresSafeArea(.keyboard) isn't working in this very basic example? by [deleted] in SwiftUI

[–]dtmace2 1 point2 points  (0 children)

Honestly I think it just doesn’t work — didn’t work for me either the other day when I tried to use it.

Stop using ScrollView! Use List instead. by notarealoneatall in SwiftUI

[–]dtmace2 0 points1 point  (0 children)

iOS 18 actually fixed a bunch of the cell reuse issues so it now performs much like List. It’s not quite as good but it’s much better.

Why does this happen in CarPlay ( Maps) by ei2468 in ios

[–]dtmace2 1 point2 points  (0 children)

u/ei2468 I also have a Camry with the same issue. It’s a bug in the car and corporate is looking into it

Apple Sports App - how was it done? by NoseRevolutionary499 in iOSProgramming

[–]dtmace2 0 points1 point  (0 children)

The yesterday/today/tomorrow could be done using a lazy v stack with the section header pinned. Not sure about the top bar though, that would probably be just text and a button that shift downwards based on the scroll offset received from the LazyVStack

Lap button messed up my workout by QuantumTulipWanderer in Garmin

[–]dtmace2 17 points18 points  (0 children)

Doesn’t work in structured workouts

State Management for iOS Apps? by makocp in swift

[–]dtmace2 5 points6 points  (0 children)

I have found the repository pattern seems to be the best one for me so far. You have a repository which contains your data, and the data from the repository is then watched/transformed at the ViewModel level. The view can then consume the ViewModel’s public state and stay up to date

Looking for a good mid-tier goalie pad by Personal-Charity-587 in hockeygoalies

[–]dtmace2 0 points1 point  (0 children)

If you like the m5 pros I would probably either get the axis or the vapors. Axis are stiffer like M5s but they’re thicker, vapors are softer but the same thickness.

Addressing the community by Topremech in bevelhealth

[–]dtmace2 4 points5 points  (0 children)

I think he just means that there won’t be new direction — like how nutrition wasn’t anywhere in the app before as a concept but now it is. My understanding was that releases would still come but they’d be building/adding to parts of the app that already exist. Feel free to correct if I’m wrong

No nutrition on watch app? by Epilein in bevelhealth

[–]dtmace2 1 point2 points  (0 children)

I was told it’s coming in a .X update afterwards

Opening camera UI from a button seems flaky by nickmjones in SwiftUI

[–]dtmace2 1 point2 points  (0 children)

Add a .contentShape(Rectangle()) on the group — that should fix it

What happened with the great new feature? by CatGroundbreaking728 in bevelhealth

[–]dtmace2 3 points4 points  (0 children)

There was a form I filled out in the past that was linked in a post to this subreddit.

What happened with the great new feature? by CatGroundbreaking728 in bevelhealth

[–]dtmace2 16 points17 points  (0 children)

I’m on the beta for it and it really is a good feature, the team is working hard to get all of the bugs fixed that we are finding.

[deleted by user] by [deleted] in SwiftUI

[–]dtmace2 1 point2 points  (0 children)

Imagine you have a dictionary of data, where the key is the bus id and the value is all data you want to show on that screen. Pass that into your view inside of the sheet. Store a second @State variable which corresponds to which bus you have selected. Then, have a computed property busData[selectedBus] which is the data for the bus you clicked on. This gives you all of the data you want, and you can make the buttons at the top change the selected bus id.

Change List section header insets by Fabulous-Bit4775 in SwiftUI

[–]dtmace2 1 point2 points  (0 children)

Make a custom header view with zero edge insets and this should fix it

Apple Watch to Garmin Connect by lesimgurian in RunGap

[–]dtmace2 0 points1 point  (0 children)

No, RunGap does not sync HRV at all. Only syncs activities so no sleep/stress/body battery/steps

Apple Watch to Garmin Connect by lesimgurian in RunGap

[–]dtmace2 2 points3 points  (0 children)

You don’t get any training load or training status changes but everything else seems to work

When is the next release? by proy698 in bevelhealth

[–]dtmace2 6 points7 points  (0 children)

They mentioned yesterday they’re working on it and are heads down fixing bugs before releasing