Skip to content

Instantly share code, notes, and snippets.

@edopelawi
Last active September 13, 2016 14:55
Embed
What would you like to do?
An sample on nil-checking before force-unwrapping a String optional.
if name != nil {
print(createGreetings(sailorName: name!))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment