How to use semi-colon in Swift