Updates all the files to latest Swift syntax

@thedlu