Skip to content

Instantly share code, notes, and snippets.

@ZevEisenberg
Created July 31, 2018 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZevEisenberg/15ee433073e30db1192e250e47a0d689 to your computer and use it in GitHub Desktop.
Save ZevEisenberg/15ee433073e30db1192e250e47a0d689 to your computer and use it in GitHub Desktop.
Example Guard indentation
let foo: Int? = nil
let bar: Int? = nil
let baz: Int? = nil
func x() {
guard
let foo = foo,
let bar = bar,
let baz = baz
else { return }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment