Xcode | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Xcode

So Iā€™m on Xcode copying code in swift trying to build a tic-tac-toe app. The bug is Value of ā€œTileā€ has no member ā€œNaughtā€. This is Xcode 14.1 , please help !! https://code.sololearn.com/cBF35alIvty3/?ref=app https://code.sololearn.com/cBF35alIvty3/?ref=app

16th Dec 2022, 9:24 PM
Emmanuel Pena
5 Respostas
0
Oh... Maybe so : struct cell { var Tile : Bool func displayTile() -> String { switch(Tile) { case false: return "O" case true: return "X" default: return "" } } } if you have a question about the code, ask
17th Dec 2022, 7:41 PM
ŠŃ€Ń‚ŃƒŃ€ Š„рŠ¾Š¼Š¾Š²
0
What does the bug ā€œCannot find type ā€œblankā€ in scopeā€œ
17th Dec 2022, 7:46 PM
Emmanuel Pena
0
I think I found the answer to your question on the internet: https://developer.apple.com/forums/thread/691672
17th Dec 2022, 7:53 PM
ŠŃ€Ń‚ŃƒŃ€ Š„рŠ¾Š¼Š¾Š²
0
Thats xcode 13
17th Dec 2022, 8:18 PM
Emmanuel Pena
0
I have 14.1
17th Dec 2022, 8:18 PM
Emmanuel Pena