
Pavel Holec
Senior Software Engineer
iOS developer @ kiwi.com for 3 years. Graduated from Brno MUNI and FIT, shifted from movie and video games industry towards UI facing software engineering. Spends free time hiking, dancing, bouldering or guilty pleasure video game or movie nights.
Articles
Modular SwiftUI architecture
When we started introducing SwiftUI in Kiwi.com app, we already had to maintain 100+ UIKit screens. As we tried to convert them into SwiftUI in-place, without any other architectural change, the Xcode would just crash when attempting to work with SwiftUI previews.
Generating SwiftUI snapshot tests with Swift macros
This article describes how our Kiwi.com iOS project uses swift macros to drive automatic snapshot tests generation in order to keep tests synced with SwiftUI previews and to get rid of a lot of maintenance-requiring boilerplate.
ObservableObject initialisation using Environment
At Kiwi.com, the conversion of architecture from UIKit to pure SwiftUI was not without hiccups. One of them was finding a way to properly initialise an ObservableObject that depends on the environment that is injected from above.


