Company
Date Published
Author
Hesham Abd-Elmegid
Word count
616
Language
English
Hacker News points
None

Summary

The debate over whether to use Interface Builder and storyboards or write all UI in code remains polarized, with valid arguments on both sides depending on a team's or project's specific needs. At Luciq, the preference is to avoid Interface Builder due to challenges such as difficulty in resolving merge conflicts, lack of readability in code reviews, and the complexities of reusability with storyboards. Writing UI in code is favored for its improved readability, maintainability, and ease of creating Auto Layout constraints, despite the absence of third-party dependencies like SnapKit. Although dependency injection is possible with storyboards, it complicates parameter passing compared to using code. While Interface Builder is recommended for those new to iOS development due to its accessibility and faster setup, Luciq suggests exploring code-based UI creation for better control and customization, offering tutorials for those interested.