Post

Replies

Boosts

Views

Activity

Reply to "App development with swift" Apple pie guided project
I am working on the Apple Pie Project now, I followed the code on the book and so far it works well, (except the .character method can not be used) but at the last step I found an issue which X code said: Value of type 'UIButton' has no member 'isEnable' on this code block:     for button in letterButtons {       button.isEnable = enable     } any one has also faced this issue? I have make sure I am using Outlet not Action       @IBOutlet weak var correctWordLabel: UILabel!       @IBOutlet weak var scoreLabel: UILabel!       @IBOutlet var letterButtons: [UIButton]!           @IBAction func buttonPressed(_ sender: UIButton) {     sender.isEnabled = false     let letterString = sender.title(for: .normal)!     let letter = Character(letterString.lowercased())     currentGame.playerGuessed(letter: letter)     updateGameState()   }
Jan ’21