OK, that's the exact same code as in book.
But there are a lot of other stuff that could be wrong.
Are you sure you followed exactly all the steps ?
Impossible to say with our seeing code.
Topic:
Programming Languages
SubTopic:
Swift
Tags: