Posts in: uikit

2023

How to recognize links and other stuff (normally available only on UITextView) and make them interact-able.

2022

A look into the intricate details of Core Data NSFetchedResultsController’s new delegate method to work with diffable data sources driving a collection view.

Recommended way to seamlessly gel UITabBarController with Coordinator pattern, where each tab has its own Coordinator.

2020

KVO is often an example of something you should not use if you want to avoid crashes. But what if you need to use it?

First let’s see how it was done before iOS 13. Then we’ll take a look how scenes changed this setup. Spoiler: quite a bit.

Recent versions of Xcode and Interface Builder are great visual tools to build auto layout UIs.

It’s a funny title, eh? Born out of half-a-day of head-scratching.

2019

Interface Builder is an amazing tool, which allows you to declaratively build your UI. Same as SwiftUI — so why all the hate and ridicule over the years instead of unconditional love?

Transcript of my talk from PragmaConf 2019, presented on Oct 11th in Bologna.

First step in building a form on iOS, which is going to be used inside a collection view is to make up your mind on the design. Second step, implement the design of the cell. Third step – create an appropriate model object for the given cell.

It’s dead heat what’s more annoying: for customers to input data or for developers to validate and accept that input. It simply can’t be escaped in some cases.

I am trying to wrap my head around essential SwiftUI concepts. This is where I am today. Something I wrote here may be wrong but that’s ok, it’s a learning process. Do tell me if I’m wrong on anything here.

One small trick to make creation of self-sizing layouts easier.

UIViewController containment APIs are very old by now. They can still cause headache if you don’t pay attention to view loading process.

Learn how to get the main benefit of my Coordinator implementation without actually using the library or the pattern.

2018

I am having so much benefit from using this pattern in last few years, I can’t help myself. I have to try and persuade all of you to use it too.

iOS 11 Music app features a lovely sliding cards UI for stuff that modally pop over the existing content. Here's how to replicate it in your app.

Replicating UITabBarController behavior using Coordinators flattens your UI hierarchy and thus considerably simplifies controller transitions

2017

Expanded transcript from my talk at NSSpain 2017

Let the language work for you

Taking the first step towards clean and minimal app architecture in iOS app means freeing your view controllers from the burden of dealing with other controllers.

2015

2014

2013