4 ms·
AutoLayout isn't too bad with something like SnapKit. Alternatively you can use a custom layouting implementation based on frames, like FlexLayout/PinLayout. Wo
by tabs_masterrace 8y ago
AutoLayout isn't too bad with something like SnapKit. Alternatively you can use a custom layouting implementation based on frames, like FlexLayout/PinLayout. Works well too. Storyboards? Don't use them, problem solved.
Android XML has a lot of bad stuff in it too. Like all the styling that needs to be done through obscure XML tags, selectors, layer-lists, style-inheritance in separate files and so on.
Also ConstraintLayout is basically AutoLayout, I have been using Anko Layout DSL more and more instead of XML, which then really isn't that different from iOS+SnapKit.
- matchbok 8y agoLove SnapKit. Agreed on the weird XML stuff though. What I loved about Android XML was the live preview stuff. Made dev much, much faster.