This is a pretty practical use case in iOS development, but there is a bit of redundancy here.

Let’s see if we can make it better

Init extensions

To make this syntax a little cleaner, could we get rid of the initialization line and the return line? That way, we are just left with a line setting the background color.