Home > database >  Invalid redeclaration of 'rollButtonPressed'
Invalid redeclaration of 'rollButtonPressed'

Time:12-03

I have this error that keeps popping up. I tried cleaning the build folder and it didn't solve this problem. Any ideas what I'm doing wrong? Here's my code.Image of my code

CodePudding user response:

I'm not sure why you want two same IBActions, but from the image, I can see there are two same IBAction functions, so remove one or rename one of them.

CodePudding user response:

I have checked your code and you have created two IBActions , which are of same names. Delete one of them or try renaming one of them.

  • Related