Ok comparing the tutorial code and my code, I have found the problem. I had .padding instead of .padding()
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: