init(_:)
Creates a script from a BCP 47 identifier.
Declaration
init(_ identifier: String)Parameters
- identifier:
A BCP 47 script subtag identifier, such as
Arab,Cyrl, orLatn. This value is case-insensitive.
Creates a script from a BCP 47 identifier.
init(_ identifier: String)A BCP 47 script subtag identifier, such as Arab, Cyrl, or Latn. This value is case-insensitive.