Abstract

We all know that massive view controllers lead to equally massive problems, but sometimes it’s not easy to know where to start when you want to make things better.

In this session I’ll present an example Swift app, walk through the many structural problems it has, then refactor it live on stage so you can see exactly how it’s done. The end result will be a smarter, simpler architecture that is more testable, more scalable, and most importantly more maintainable.

There are a number of targets we’ll be investigating, such as:

  • Relocating view code to a sensible location
  • Spinning off delegates and data sources to new classes
  • Using coordinators to simplify navigation

All this will be done with live coding on stage, so you can follow along.

WHEN

  • 14:50 :

WHERE

  • Sala Cavour :

CATEGORIES

  • Architecture :

Paul Hudson

Paul is the author of Hacking with Swift, Pro Swift, Swift Design Patterns, Server-Side Swift, Hacking with macOS, Hacking with watchOS, Hacking with tvOS, Swift Coding Challenges, and more. Suffice it to say, he quite likes Swift. And coffee. (But mostly Swift.) (And coffee.)

 

CONNECT