设置视图背景
目标 C:
view.backgroundColor = [UIColor redColor];
迅速:
view.backgroundColor! = UIColor.redColor()
Swift 3
view.backgroundColor = UIColor.redColor
目标 C:
view.backgroundColor = [UIColor redColor];
迅速:
view.backgroundColor! = UIColor.redColor()
Swift 3
view.backgroundColor = UIColor.redColor