Top "Nslocale" questions

Locales encapsulate information about linguistic, cultural, and technological conventions and standards.

Getting current device language in iOS?

I'd like to show the current language that the device UI is using. What code would I use? I want …

ios objective-c cocoa-touch nslocale
How to get current language code with Swift?

I want get the language code of the device (en, es...) in my app written with Swift. How can get …

swift nslocale
How to get country code using NSLocale in Swift 3

Could you please help on how to get country code using NSLocale in Swift 3 ? This is the previous code I …

ios swift3 nslocale
Get country code from country name in IOS

Im retrieving a country name from a server in english. For example, "Spain" What I want to do is, assuming …

ios country-codes nslocale
How do I get current application locale?

I need to get current locale. Not user locale but my application locale. Let's say my application has two localizations (…

ios objective-c localization locale nslocale
How do I get a list of countries in Swift ios?

I've already seen two similar questions to mine, but the answers for those questions do not work for me. I …

cocoa-touch swift nsarray uipickerview nslocale
Check language in iOS app

Task is : I have got two UIImageViews, and I want present ImageView1 if system language is Ukrainian, and if it …

ios swift localization nslocale
List of Countries using NSLocaleCountryCode

I want to be able to make the app change depending on the users location. Im using the code below: …

iphone objective-c nslocale
NSDateformatter setDateFormat according to currentLocale

I'm going mad with, probably, a stupid problem. I have 3 strings: year, month and day. I need to have a …

cocoa-touch ios nsdateformatter nslocale
Swift - Get list of countries

How can I get an array with all countries names in Swift? I've tried to convert the code I had …

ios arrays swift nslocale countries