Reposting toots that show how great #SwiftUI is.
(It is not that great.)
The profile avatar features a Eleonora's Falcon which eats swifts for breakfast.
Reposting toots that show how great #SwiftUI is.
(It is not that great.)
The profile avatar features a Eleonora's Falcon which eats swifts for breakfast.
WTF. How is UUID not one of the types you can store in @SceneStorage? And worse, how come the limited types usable aren't documented*? #Swift #SwiftUI
*I've searched the pages for SceneStorage, AppStorage, and “Restoring your app's state with SwiftUI" and haven't found mention of data type restrictions.
@nicklockwood classic SwiftUI.
Sometimes I miss the simplicity of UIKit 😉
In SwiftUI, if I'm using ScrollViewProxy to scroll to a particular anchor in a List, is there any way to have it take the top contentMargin into account?
Every time I scroll to an item, it ends up behind the top toolbar 😞
I just spent about two hours refactoring a view in a way that the Swift compiler could still accept. I still don't know what I wss doing wrong, just making a small change at a time and reverting if I got "unable to type-check this expression in reasonable time."
Extremely frustrating. Better code now, though. #SwiftUI