How to get country code using NSLocale in Swift 3
<p>Could you please help on how to get country code using <code>NSLocale</code> in <code>Swift 3</code> ?</p>

<p>This is the previous code I have been using.</p>

<pre><code>NSLocale.currentLocale().objectForKey(NSLocaleCountryCode) as! String
</code></pre>

<p>I can get Language Code as below in Swift 3.</p>

<pre><code>Locale.current.languageCode!
</code></pre>

<p>As I can see, fetching languageCode is straight forward but countryCode property is not available.</p>