I’m looking to have a system where it updates the score the user has if they get the answer right in a multiple choice question. I have an IBAction that runs when the user selects the right choice and I want it to update the score.
i.e. score + 2 when answer is correct
Is it something with CGFloat or NSInteger?
I’m looking to have a system where it updates the score the user has
Share
Try something like this:
Wherever you want to update the score, just call the
scoreChangedmethod. Hope this helps!