Using Swift Extensions To Clean Up Our Code

In the previous article, we talked about ARC and what performance implications it imposes on our apps. Today, we are going to take a look at how we can use extensions to make our code more readable.

What Are Extensions?

Swift extensions are normally used whenever you want to add functionality to some part of a program where you don’t have access to…