Why Nostr? What is Njump?
2024-05-14 03:51:07

Adam Bell :catPOWER: on Nostr: If any SwiftUI folks wanna take a look at FB13797235 :))) Basically using @State ...

If any SwiftUI folks wanna take a look at FB13797235 :)))

Basically using @State within a UIHostingConfiguration's view created from `makeContentView` is preserved across re-configuring the view's `configuration` resulting in state data.

In my case I have my own custom cell reuse implemented for coverflow in Albums (no collectionview) and this results in albums having the wrong artwork requiring me to instead constantly call `makeContentView` to get new views with the correct state :(
Author Public Key
npub14mgtsuytcjprn4098dtx3xv6myh84g0nrxtwtr9uatevz8nfwz7sqfj6qw