Closed hamsik22 closed 2 days ago
makeButton()
private func setupHStackView(_ elements: [String]) -> UIStackView { for item in elements { buttons.append(makeButton(item)) // some Code... } } private func makeButton(_ title: String) -> UIButton { if Int(title) != nil { button.backgroundColor = UIColor(red: 58/255, green: 58/255, blue: 58/255, alpha: 1.0) } else { button.backgroundColor = .orange } // some Code... }
close #7
개요
7 : 연산버튼 배경색 변경(->주황색)
작업내용
makeButton()
함수 정의close #7