class MyAppCantFunctionUnlessBothPropertiesAreBloodyPresent {
var cloudId: String?
var apnsToken: String?
func pleaseJustSendThisShitToMyServerSoICanBeDoneWith() {
guard let cloudId = self.cloudId, apnsToken = self.apnsToken else {
print(“Sighs, nope not ready yet, we’re all probably waiting for that blaady apns token again")
return
}
print(“what took you two so long? Let’s make that request to igors server now")
}
}
Last active
January 15, 2016 09:30
-
-
Save pavankataria/9648861f191c00ed40e9 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment