SwiftUI is Great!

@SwiftUIisGreat
59 Followers
0 Following
144 Posts

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.

SwiftUI still doesn’t have an equivalent for UITableView/CollectionViewDataSourcePrefetching? Really?

Not to mention the lack of a flow layout - literally, the default collection view layout.

#SwiftUI #UIKit

Bottom toolbars seem really buggy on iOS 26 on the iPhone. #SwiftUI

Any #SwiftUI expert out there who could help me get images in a TabView to work? No matter what I do, the image takes almost the entire width and height.

#iOSDev

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 😞

Did I miss something or is there really no kind of FlowLayout in Grid in #SwiftUI?
@tewha "Watch the rat dance every time we give it an electric shock! And it's so happy when the shocks stop! Ha ha ha!"
—Swift compiler team
#swiftui

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

Dear #SwiftUI, can you please fix the regressions you introduced on iOS 26? FB22043999

In my View, I read the dismiss value from the Environment.

Whenever a Menu or Picker is opened, the View body is re evaluated 🤷🏻‍♂️

This unexpected behaviour doesn't happen on iOS 18.5 🙃

#iosdev