我正在尝试将python3-pip安装为
func toggleCheckmark(_ checkmark: UIButton) {
if checkmark == self.checkmark1 {
self.selectCheckmark1()
self.deselectCheckmark2()
} else if checkmark == self.checkmark2 {
self.selectCheckmark2()
self.deselectCheckmark1()
}
}
然后我有错误
func toggleCheckmark(_ checkmark: UIButton) {
self.selectCheckmark(self.checkmark1, on: checkmark == self.checkmark1)
self.selectCheckmark(self.checkmark2, on: checkmark == self.checkmark2)
}