Large, complex apps rely on a robust, yet flexible app architecture. In this article, we’ll show you how to accomplish this goal and how to handle navigation and deep-linking with SwiftUI. With more and more people building production apps in SwiftUI, we recently started a pursuit to try out, discuss and compare different app architectures. […]
Author: Paul Kraft
How to Use the Coordinator Pattern in SwiftUI
When developing iOS apps with UIKit, many developers have used the Coordinator pattern to abstract away the connections between individual view components. This increases the reusability of view components (such as view controllers), reduces responsibilities of the frequently overcrowded UIViewController implementations and makes connections, such as transitions and data exchange, between view components more visible. […]
Advanced Property Wrappers in Swift
We love Swift as a lean and intuitive programming language and recently, SwiftUI made our hearts beat faster for providing us with great tools to create amazing user experiences with very little, simple code. But with the introduction of property wrappers, a lot of @-signs, $-signs and underscores suddenly popped up. Didn’t it just get […]
Adding Custom Views to the Library in Xcode 12
What do you prefer: creating user interfaces visually or in code? This question has split the Apple developer community for years. Could this year’s WWDC finally mark the end of that? Last year, Apple made a huge step forward in UI development with the introduction of SwiftUI: For the first time, the visual approach and […]
SwiftUI Architectures: Model-View, Redux & MVVM
With SwiftUI and Xcode 11 released just recently, we decided to investigate different app architectures that can be used with SwiftUI. We’re going to look into a rather simple Model-View architecture, the Redux architecture pattern and the ViewState MVVM.