4 ms·
I found “the old way” of doing things to be a mess. Despite building one of the first apps in the App Store, NSLayout just never became “second nature.” Instea
by Eric_WVGG 5y ago
I found “the old way” of doing things to be a mess. Despite building one of the first apps in the App Store, NSLayout just never became “second nature.”
Instead of the native app world, I stuck to web front ends and managed that awkward transition from jQuery to Angular to React. These models for UI made increasing amounts of sense — instead of fiddling with weird lines a slop gui, I could just tell the system what I want and get it!
Then SwiftUI came along, and lo, I get all the goodness of React in iOS and even MacOS! My first native app in years is coming along swimmingly, and it’s even cross platform!
(yes, I did do an app in React Native, and found it gross for reasons that I can’t put my finger on)
- skohan 5y agoDid you ever try going all the way and using graphical layouts (Nibs/Storyboards)?
- Eric_WVGG 5y agoYup. Storyboards were of course a huge improvement, but I could never get the hang of constraints.
- skohan 5y agoYeah fair enough - constraints can be really powerful, but they really do take some time and practice to wrap your head around.
- anonymouse008 5y agoI'm still looking for a full web frontend framework that uses constraints -- because yes, they are the best version of 'responsive' layouts ever.
- nodemaker 5y agoYeah one of the reasons I refuse to do SwiftUI is I want to do my layout in constraints. Its also how my head thinks when I think about layouts, and also probably why I never enjoyed web dev and got into it.