<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toyship</author_name>
  <author_url>https://blog.hatena.ne.jp/toyship/</author_url>
  <blog_title>Toyship.org</blog_title>
  <blog_url>https://www.toyship.org/</blog_url>
  <categories>
    <anon>iOS</anon>
  </categories>
  <description>これはiOSアドベントカレンダーの２日目の記事です。 毎年アドベントカレンダーでは、カレンダーに関係あることを書くことにしています。 今回はiOS11で仕様変更があったロケールについて。 ロケールとは iPhoneの設定に、「言語と地域」という項目があります。 ここでは、表示に使われる言語を設定することができますが、 この「地域」で設定される項目がロケールです。 このようにすると、現在設定されている言語とロケールを取得することができます。 let language = NSLocale.preferredLanguages print(&quot;languages:\(language)&quot;) let …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.toyship.org%2Farchives%2F2409&quot; title=&quot;iOS11で変わったロケール - Toyship.org&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/toyship/20180107/20180107020847.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-02 23:22:50</published>
  <title>iOS11で変わったロケール</title>
  <type>rich</type>
  <url>https://www.toyship.org/archives/2409</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
