Chapter 24; The messy way

Hi,

can you please help me understand something?

On page 675 of the pdf, there is an exercise about updating the HighScoreItem.
Below that it says:

Bildschirmfoto 2020-04-05 um 08.30.38

I do not understand this.

  1. Where does the ‘highScoreItem.name’ come from? Where was it defined?
  2. In ‘highScoreViewController.update(item)’, where does the item come from? Where is it filled with data?

When I put this in my code, I first get the error…
Bildschirmfoto 2020-04-05 um 08.35.23

Then I get theses errors…

Bildschirmfoto 2020-04-05 um 08.36.21

Bildschirmfoto 2020-04-05 um 08.36.49

Thanks so much for any help!
Dan

@danking Do you still have issues with this?

No. This is 3 months back. I have moved on…

This topic was automatically closed after 166 days. New replies are no longer allowed.