Image for post
Image for post

Yes, yes, I understand that it’s 2020 and that all hardcore iOS developers write exclusively in SwiftUI and Combine. And writing an article about UIKit is somehow ‘not cool.’ However, 2020 turned out to be different from all previous years. Very different.

As soon as a full lockdown hit Dublin, sometime in the middle of March, I started looking for something to do on cold and rainy nights. After playing around with SwiftUI and Combine I decided that I absolutely did not want to be a public alpha tester. I decided to take a deeper look at what else might interest me. …


I am continuing the series of articles about the RouteComposer library that we use. In this article, I want to talk about the Coordinator Pattern. I was prompted to write this article by a discussion in one of the previous articles about the Coordinator Pattern.

The Coordinator Pattern, having been introduced recently, is gaining more and more popularity in the iOS developer community, and, in general, it is clear why. Out-of-the-box tools that UIKit provides are a rather unstandardised mess.

Image for post
Image for post

I previously raised issues in handling the fragmentation in the ways of building the view controller into the stack. …


In my previous article I brought you through RouteComposer— the library we use in our iOS applications that handles composition, navigation and deep-linking tasks. In this article I will go over some tricky elements of the library.

How the Router parses the configuration:

The Router goes by the chain of steps starting from the first step. If the Finder of this step says that the UIViewController of this step does not exist, it moves on to the next one. It does this until one of the finders say that it has found the UIViewController described in the chain. …


Image for post
Image for post

In this article I want to share the experience that we have been successfully using for several years in our iOS applications, 3 of which are currently in the Appstore (Saks Fifth Avenue, Gilt, Appytoy). This approach has proved itself to be effective and we recently segregated it from the rest of the code and designed it into a separate RouteComposer library, which is the main focus of this article. It also can be used as the universal replacement for the Coordinator pattern.

https://github.com/saksdirect/route-composer

But, for starters, let’s try to figure out what is meant by the composition of the view controllers in iOS. …

About

Eugene Kazaev

IOS Developer in Websummit

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store