Skip to content

Instantly share code, notes, and snippets.

@carbamide
Created February 26, 2014 17:33
Show Gist options
  • Select an option

  • Save carbamide/9234381 to your computer and use it in GitHub Desktop.

Select an option

Save carbamide/9234381 to your computer and use it in GitHub Desktop.
if ((![phoneNumber isEqualToString:[NSString string]]) && phoneNumber) {
// phone number exists
}
else if (([phoneNumber isEqualToString:[NSString string]]) && phoneNumber) {
phoneNumber = [user phone];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment