Simple string validations for iOS