当我获得guard let sound = sounds.shuffled(),时,它会得到一个错误的Initializer for conditional binding must have Optionaltype, not '[String]'var audioPlayer: AVAudioPlayer!@IBAction func playButtonPressed(_ sender: UIBu
我不能在我的代码中解决"if let“问题。基于这个错误,它说我必须使用一个可选类型?operate(sender: UIButton) {
enter() if letoperation = sender.currentTitle {
if let result = calcModel.performOpe