setOn(_:animated:) Set the state of the switch to On or Off, optionally animating the transition. func setOn( _ on: Bool, animated: Bool ) 쓰임새 = switchName.setOn(true, animated: true) onTintColor The color used to tint the appearance of the switch when it’s in the on position. on 위치에 있을 때 스위치 모양의 색상 바꾸기 var onTintColor: UIColor? { get set } thumbTintColor The color used to tint the appearance of..