3 ms·
GeometryReader was not part of fizzbuzz. Replace geo.size.width * 0.1 with 10 to see your code break. Now tell me, why did it break? Do you even know? Because
by alexashka 4y ago
GeometryReader was not part of fizzbuzz. Replace geo.size.width * 0.1 with 10 to see your code break.
Now tell me, why did it break? Do you even know? Because I don't.
I don't know why half the shit works as it does, and I've written non-trivial SwiftUI code for 6 months. I did not have this problem with UIKit and interface builder.
- emehex 4y agoGeometryReader is a pretty critical part of the SwiftUI framework. I'd recommend getting familiar with it! Saying "you can't use GeometryReader" would be like saying you can't use UIKit's Auto Layout...
- deleted 4y ago[deleted]