Removing the if block will remove the warning. But I do not know if that is what the book wants you to do. I am not sure what the code is supposed to do because I have not read the book.
Topic:
Programming Languages
SubTopic:
Swift
Tags: