localeWithLocaleIdentifier static method
NSLocale
localeWithLocaleIdentifier(
- NSString ident
localeWithLocaleIdentifier:
Implementation
static objc.NSLocale localeWithLocaleIdentifier(objc.NSString ident) {
objc.checkOsVersionInternal(
'NSLocale.localeWithLocaleIdentifier:',
iOS: (false, (4, 0, 0)),
macOS: (false, (10, 6, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
_class_NSLocale,
_sel_localeWithLocaleIdentifier_,
ident.ref.pointer,
);
return objc.NSLocale.castFromPointer(_ret, retain: true, release: true);
}