Skip to content

Instantly share code, notes, and snippets.

@edopelawi

edopelawi/SailorGreeting.swift Secret

Last active Oct 12, 2016
Embed
What would you like to do?
A sample function and optional variable in Swift.
func createGreetings(sailorName: String) -> String {
return "👮 Ahoy, \(sailorName)! Welcome to S.S. Salty Sailor, arrr!"
}
var name: String?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.