Instance member cannot be used on type 'ViewController'

后端 未结 2 1010
無奈伤痛
無奈伤痛 2020-12-18 23:48
class ViewController: UIViewController {    

let fortuneArray = [\"You will find true love in the summer.\", \"Outlook not good\", \"You may find great success in b         


        
2条回答
  •  醉话见心
    2020-12-19 00:20

    Ah, I figured it out with Fonix's help. I declared the random number in an IBAction and that took care of it.

提交回复
热议问题