title: Get country code from country name in IOS
body: <p>Im retrieving a country name from a server in english. For example, "Spain"</p>
  
  <p>What I want to do is, assuming the country name is going to be written in english, get the country code. </p>
  
  <p>What should I do? I´ve found getting the country name from the country code quite easy, but I´ve got no idea of how to do the opposite operation.</p>
  
  <p>Thanks a lot.</p>