Created
October 7, 2018 16:52
-
-
Save yunustek/ee7814dc440e2f3e7cd9cfb13969a997 to your computer and use it in GitHub Desktop.
Yeni Derleyici Yönergeleri
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func encrypt(_ string: String, with password: String) -> String { | |
#warning("This is terrible method of encryption") | |
return password + String(string.reversed()) + password | |
} | |
struct Configuration { | |
var apiKey: String { | |
#error("Please enter your API key below then delete this") | |
return "Enter your key here" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment