Why can't I use UIColor in Swift 2.0?
It makes no sense.
Just add import UIKit at the top and it will work fine.
import UIKit
You need to import UIKit to use UIColor .
UIKit
UIColor