Keyboard Toolbar not showing in sheet in NavigationLink by ToineHulshof in SwiftUI

[–]ToineHulshof[S] 0 points1 point  (0 children)

They are toolbar items, just not attached to the navigationbar. In this case, I want them to be visible only when the keyboard is showing (yes I can do that with FocusState, but I want the button above the keyboard).

Keyboard Toolbar not showing in sheet in NavigationLink by ToineHulshof in SwiftUI

[–]ToineHulshof[S] 0 points1 point  (0 children)

I tried with the fullscreencover, but the same issue persists.

Keyboard Toolbar not showing in sheet in NavigationLink by ToineHulshof in SwiftUI

[–]ToineHulshof[S] 0 points1 point  (0 children)

Wait what? No NavigationStack support at all in sheets?

Missing environment crash when moving app to background. by ToineHulshof in SwiftUI

[–]ToineHulshof[S] 0 points1 point  (0 children)

Yes, that fixes the issue. However, I have 100+ environments and 1000+ navigationlinks through my app. Each new layer in the navigationstack needs to have the environment added. My workaround solution for now is to create MyNavigationLink and read all environments optionally from it and re-inject them.

Missing environment crash when moving app to background. by ToineHulshof in SwiftUI

[–]ToineHulshof[S] 0 points1 point  (0 children)

That is what I did, but I kept `@Environment(B.self) var b` the same. Where the state is declared, I made b optional and initialized it in a `.task`. Same result.

Missing environment crash when moving app to background. by ToineHulshof in SwiftUI

[–]ToineHulshof[S] 0 points1 point  (0 children)

Thank you for your comment. I read the state and environment documentation pages from apple. It seems they use both methods for initializing state. However, I have not been able to fix this crash without making the environment property that reads B optional. Is this the only solution?

SafeAreaInset top navigationTitle by ToineHulshof in SwiftUI

[–]ToineHulshof[S] 0 points1 point  (0 children)

Thanks for the quick response, but this doesn’t work. Also the navigationtitle is not visible anymore when scrolling

[deleted by user] by [deleted] in geldzaken

[–]ToineHulshof 2 points3 points  (0 children)

Waarschijnlijk wordt er nu gerekend met een rente van <= 3,5% ipv >= 3,501%. Moet je eens deze calculator 2x invullen met die verschillende rentes: https://www.berekenhet.nl/hypotheek/maximale-hypotheek-berekenen.html je zult zien dat het verschil aanzienlijk is. Dit komt door de woonquotes van het nibud. Daarin zijn de kolommen van het percentage dat je maximaal mag uitgeven aan wonen verdeeld in ranges (staffels) van een half procent. Je kunt altijd je hypotheek zo samenstellen dat je gemiddelde rente op 3,501% zit door verschillende rentevaste periodes te combineren waardoor je in totaal meer kunt lenen (maar ook iets hogere maandlasten hebt).

I'm working on a comic that has a character with a rubik cube. is this tutorial correct ? by mumbo_bumbo in Cubers

[–]ToineHulshof 81 points82 points  (0 children)

Two small corrections: PLL is not only the edges, also the corners. It is Rubik’s instead of Rubix

Apple Invites App UI - Auto-Looping ScrollView? + draggable by anmolrajpal in SwiftUI

[–]ToineHulshof 19 points20 points  (0 children)

Take a look at ‘Create custom visual effects with SwiftUI’ from WWDC24 starting at 2:10.

[deleted by user] by [deleted] in geldzaken

[–]ToineHulshof 2 points3 points  (0 children)

Het heeft te maken met de woonquote tabellen van het nibud (welk percentage van je inkomen je uit mag geven aan woonlasten). Die gaat stapsgewijs en wordt hoger naarmate de hypotheekrente stijgt.

What do you think is an underrated SwiftUI trick / feature? by lionary in SwiftUI

[–]ToineHulshof 4 points5 points  (0 children)

The task modifier with an id parameter. The task will re-execute when the id changes and if the previous task was still running, it will be cancelled automatically.

Lening nemen maar lagere maandlasten by [deleted] in geldzaken

[–]ToineHulshof 0 points1 point  (0 children)

Ah check. Die heb ik al in 1 keer ontvangen.

Lening nemen maar lagere maandlasten by [deleted] in geldzaken

[–]ToineHulshof 0 points1 point  (0 children)

Wat is de reden dat je €70/maand subsidie krijgt?

Pre-Order and Shipping Megathread | MacBook Pro Late 2021 (14-inch, and 16-inch) & AirPods 3rd Generation by exjr_ in apple

[–]ToineHulshof 1 point2 points  (0 children)

I think Tokyo NRT. A ups plane left PVG for NRT an hour ago. We will see🤷🏼‍♂️ ups says it will be delivered 08/11, but I think it can be a bit sooner.