My guess was correct, as my answer.
But visibly, once again, you are more satisfied by your own comment than the provided solution. Not sure that will help a lot for those searching a solution to a similar problem…
Note: if you had read carefully and understood what the book instruction says, you would have seen it works.
Maybe you should also read again how to use the forum and the correct answer mark.
Have a good day.
Topic:
Programming Languages
SubTopic:
Swift
Tags: