Start using SF Symbols

In iOS 13 Apple introduced a set of around 1.500 symbols (icon images) which are easy to use in an app. This makes live, at least on iOS 13, easier so I started migrating to these symbols where possible. To keep it backwards compatible, I’m extending UIImage for every image that I migrate:

 extension UIImage {
     static var play: UIImage {
         if #available(iOS 13.0, *) {
             return UIImage(systemName: "play.fill")!
         } else {
             return UIImage(named: "Play-Small")!
         }
     }
 }

Rigelian users on iOS 13 will notice new, better looking, images appearing over time.