mirror of https://github.com/miguelmota/cointop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
320 B
Matlab
18 lines
320 B
Matlab
3 years ago
|
// +build ios
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
const char *getLocale()
|
||
|
{
|
||
|
NSString *locale = [[NSLocale preferredLanguages] firstObject];
|
||
|
|
||
|
return [locale UTF8String];
|
||
|
}
|
||
|
|
||
|
const char *getLocales()
|
||
|
{
|
||
|
NSString *locales = [[NSLocale preferredLanguages] componentsJoinedByString:@","];
|
||
|
|
||
|
return [locales UTF8String];
|
||
|
}
|