Posts by OneSadCookie@mastodon.gamedev.place
 (DIR) Post #APIMixfkKTmaaq71Um by OneSadCookie@mastodon.gamedev.place
       2022-11-05T02:53:42Z
       
       0 likes, 0 repeats
       
       @cocoaphony @bigzaphod @arroz @goranmoomin @shadowfacts I love most things about SwiftUI. The vast majority of stuff is just better than UIKit, IME. Simple layouts are better, advanced layouts seem sorted now in iOS 16. I don't even have a strong opinion on the UIKit layering (though the poor interoperability is still a problem).For me, the problem with SwiftUI is that it insists on encoding the current whims of Apple's design language into the behavior. Sizes and spacing change from OS to OS.
       
 (DIR) Post #APIMiy5ykwlZuCNyNs by OneSadCookie@mastodon.gamedev.place
       2022-11-05T02:56:26Z
       
       1 likes, 0 repeats
       
       @cocoaphony @bigzaphod @arroz @goranmoomin @shadowfacts and that encoding of Apple's current design language is all implicit — it's very hard to know from looking at SwiftUI code whether you've actually managed to specify enough margins and paddings that your layout will continue to work well on future OSes.It *possibly* makes things slightly better for very small developers, happy enough to go with Apple's flow. But for anyone employing a designer, it's a disaster waiting to happen :/
       
 (DIR) Post #APIMuI3QtDqUzaaqsS by OneSadCookie@mastodon.gamedev.place
       2022-11-05T03:19:52Z
       
       0 likes, 0 repeats
       
       @arroz @bigzaphod @cocoaphony @goranmoomin @shadowfacts "Autolayout" never sat well with me; "complex system of linear inequations" will never match my mental model. I've had far too many experiences where an entire nib had to have all constraints removed and recreated, because the system was impossible to understand or to incrementally alter, to be an advocate for that system.
       
 (DIR) Post #APIMuJXxLDr7cXsk5o by OneSadCookie@mastodon.gamedev.place
       2022-11-05T03:21:27Z
       
       0 likes, 0 repeats
       
       @arroz @bigzaphod @cocoaphony @goranmoomin @shadowfacts In general, SwiftUI's model fits my mental model pretty well. Things determine their own size; their parents determine their position.Pre-iOS16, though, there was no way to interact directly with the layout system, and that was a big problem if HStack/VStack weren't enough for your layout needs.iOS 16 seems to solve the problem neatly enough (the added API is exactly what I would've asked for), though I have yet to use it in anger...
       
 (DIR) Post #APJBlVo2OshSP0mbMu by OneSadCookie@mastodon.gamedev.place
       2022-11-05T22:47:12Z
       
       1 likes, 0 repeats
       
       @shadowfacts @goranmoomin @arroz @bigzaphod @cocoaphony If only they cared about our approval 🤦‍♀️