Maximilian Mackh developed a library that provides SwiftUI-like DSL to construct view layouts in UIKit – InterfaceBuilder.swift. Currently in beta, project is available on GitHub.

InterfaceBuilder.swift provides simple layout primitives – Split and Scroll which could be customized to build many layout variations. Tool might not solve every issue with layouts, however, it could significantly speed up the development of UIKit applications.

Blog post: InterfaceBuilder.swift

GitHub: mmackh/BaseComponents

Reference: InterfaceBuilder.swift

Recommendations

Developer:

Check the library, consider using it for UIKit projects.

QA engineer:

Business as usual.

PM/DM:

Business as usual.

Leave a comment

Leave a Reply