A collection of Swift snippets I've found useful when starting out