Logs
스냅킷 & 배열
var backgroundPanel = UIView() backgroundPanel.backgroundColor = UIColor(red: 33, green: 33, blue: 23, alpha: 1.0) self.viewArea.addSubview(backgroundPanel) 이런 애들이 반복되면 lazy var backgroundPanel : [UIView] = { let sample = UIView() sample.backgroundColor = colorLiteral(red: 0.2549019754, green: 0.2745098174, blue: 0.3019607961, alpha: 1) let ret : [UIView] = Array(repeating: sample, count: 3) ret..
2019. 3. 18. 20:13
최근댓글