title: Swift switch statement for matching substrings of a String
body: <p>Im trying to ask for some values from a variable.
  The variable is going to have the description of the weather and i want to ask for specific words in order to show different images (like a sun, rain or so)
  The thing is i have code like this:</p>
  
  <pre><code>    if self.descriptionWeather.description.rangeOfString("Clear") != nil
  {
      self.imageWeather.image = self.soleadoImage
  }
  if self.descriptionWeather.description.rangeOfString("rain") != nil
  {
      self.imageWeather.image = self.soleadoImage
  }
  if self.descriptionWeather.description.rangeOfString("broken clouds") != nil
  {
      self.imageWeather.image = self.nubladoImage
  }
  </code></pre>
  
  <p>Because when i tried to add an "OR" condition xcode gives me some weird errors.</p>
  
  <p>Is it possible to do a swich sentence with that? Or anyone knows how to do add an OR condition to the if clause?</p>