Post

Replies

Boosts

Views

Activity

Reply to autolayout is terrible
It would be hard to imaging a layout API that is less intuitive and less forgiving than AutoLayout even if those were your specific design goals. It does not reward getting your hands dirty and learning as you go, even though IB presents an approachable interface to many elements of AutoLayout. Debugging a broken layout in particular requires real expertise. Most just tear everything apart and start again. I really think SwiftUI was in part brought into being by Apple engineers who realised that some huge percentage of iOS developers aren't using their beloved layout system as they intended (for some reason) so they'd do it for them and wrap it up in a declarative API; we tell them what we want and they build it.
Dec ’20