I am trying to set all my colors in a single Swift file that can be used throughout the application.
The following code below leads to ...
import Foundation
import UIKit
class DotColors {
let tsblueColor = UIColor(red:58/255.0, green: 125/255.0, blue: 208/255.0, alpha: 1.0)
}
... Expected ';' after the top level announcement
source
share