How to Apply Gradient to background view of iOS Swift App

I’m trying to apply a gradient as the background color of a View (main view of a storyboard). The code runs, but nothing changes. I’m using xCode Beta 2 and Swift. Here’s the code: class Colors { let colorTop = UIColor(red: 192.0/255.0, green: 38.0/255.0, blue: 42.0/255.0, alpha: 1.0) let colorBottom = UIColor(red: 35.0/255.0, green: 2.0/255.0, … Read more