News for hackers. Stuff that matters.
Re:Building DSLs in Swift by tabs_masterrace on Monday October 15, 2018 @06:37AM (#18218679)
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.

Re:Building DSLs in Swift by matchbok on Wednesday October 17, 2018 @08:12PM (#18244949)
Love SnapKit. Agreed on the weird XML stuff though.

What I loved about Android XML was the live preview stuff. Made dev much, much faster.