Home > Net >  In the Dicee app both dice aren't functioning as expected
In the Dicee app both dice aren't functioning as expected

Time:03-21

I'm following along with one of Angela Yu's courses, I've been copying her step by step and both of our code is identical however when she runs this in the simulator the first die increases from 1 and the second die decreases from 5 however when I run this the second die doesn't change at all, please let me know if i'm missing something here!

Image1

CodePudding user response:

From the looks of things, code and logic wise everything seems to be in order.

Most probably diceImageView2 is not wired up properly as an outlet from your storyboard so that would be the first place I'd check.

  • Related